mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Code style.
This commit is contained in:
parent
370d22b70d
commit
bb1cbe64c1
1 changed files with 4 additions and 4 deletions
|
@ -218,10 +218,10 @@ module DatabaseCleaner
|
|||
strategy = mock("strategy")
|
||||
strategy.stub!(:to_ary => [strategy])
|
||||
|
||||
one = DatabaseCleaner::Base.new(:mongo_id,:connection => :default)
|
||||
one = DatabaseCleaner::Base.new(:mongo_id, :connection => :default)
|
||||
one.strategy = strategy
|
||||
|
||||
two = DatabaseCleaner::Base.new(:active_record,:connection => :default)
|
||||
two = DatabaseCleaner::Base.new(:active_record, :connection => :default)
|
||||
two.strategy = strategy
|
||||
|
||||
one.should_not eq two
|
||||
|
@ -230,10 +230,10 @@ module DatabaseCleaner
|
|||
|
||||
it "should not be equal if connection are not the same" do
|
||||
|
||||
one = DatabaseCleaner::Base.new(:active_record,:connection => :default)
|
||||
one = DatabaseCleaner::Base.new(:active_record, :connection => :default)
|
||||
one.strategy = :truncation
|
||||
|
||||
two = DatabaseCleaner::Base.new(:active_record,:connection => :other)
|
||||
two = DatabaseCleaner::Base.new(:active_record, :connection => :other)
|
||||
two.strategy = :truncation
|
||||
|
||||
one.should_not eq two
|
||||
|
|
Loading…
Reference in a new issue