mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
whitespace
This commit is contained in:
parent
1f1c3452c5
commit
5dfb24de4a
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ end
|
||||||
|
|
||||||
module DatabaseCleaner
|
module DatabaseCleaner
|
||||||
module ActiveRecord
|
module ActiveRecord
|
||||||
|
|
||||||
describe Truncation do
|
describe Truncation do
|
||||||
before(:each) do
|
before(:each) do
|
||||||
@connection = mock('connection')
|
@connection = mock('connection')
|
||||||
|
@ -50,7 +50,7 @@ module DatabaseCleaner
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should raise an error when :only and :except options are used" do
|
it "should raise an error when :only and :except options are used" do
|
||||||
running {
|
running {
|
||||||
Truncation.new(:except => ['widgets'], :only => ['widgets'])
|
Truncation.new(:except => ['widgets'], :only => ['widgets'])
|
||||||
}.should raise_error(ArgumentError)
|
}.should raise_error(ArgumentError)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue