-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #31 Allow column name to be configurable
- Loading branch information
Chris Peters
committed
Nov 13, 2016
1 parent
47042d1
commit 340e632
Showing
11 changed files
with
588 additions
and
665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
require 'spec_helper.rb' | ||
|
||
describe ::Draftsman do | ||
subject { ::Draftsman } | ||
|
||
it 'passes our sanity test' do | ||
expect(subject).to be_a Module | ||
expect(::Draftsman).to be_a Module | ||
end | ||
|
||
describe :whodunnit do | ||
before(:all) { ::Draftsman.whodunnit = 'foobar' } | ||
describe '.whodunnit' do | ||
before(:all) { ::Draftsman.whodunnit = :foobar } | ||
|
||
it 'clears out `whodunnit` before each test' do | ||
expect(subject.whodunnit).to be_nil | ||
expect(::Draftsman.whodunnit).to be_nil | ||
end | ||
end | ||
|
||
describe :controller_info do | ||
before(:all) { ::Draftsman.controller_info = { foo: 'bar' } } | ||
describe '.controller_info' do | ||
before(:all) { ::Draftsman.controller_info = { foo: :bar } } | ||
|
||
it 'clears out `controller_info` before each test' do | ||
expect(subject.controller_info).to eql Hash.new | ||
expect(::Draftsman.controller_info).to eql Hash.new | ||
end | ||
end | ||
end |
95 changes: 0 additions & 95 deletions
95
spec/dummy/db/migrate/20110208155312_set_up_test_tables.rb
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.