Remove trailing whitespaces.
This commit is contained in:
parent
f7b9246e68
commit
c6a401dd5f
|
@ -1,8 +1,8 @@
|
||||||
#This is an example of what database.yml *should* look like (when I wrote it)
|
#This is an example of what database.yml *should* look like (when I wrote it)
|
||||||
#The real database.yml is generated automatically by the active record model lib (so it can be correct)
|
#The real database.yml is generated automatically by the active record model lib (so it can be correct)
|
||||||
two:
|
two:
|
||||||
adapter: sqlite3
|
adapter: sqlite3
|
||||||
database: /path/to/examples/features/support/../../db/activerecord_two.db
|
database: /path/to/examples/features/support/../../db/activerecord_two.db
|
||||||
one:
|
one:
|
||||||
adapter: sqlite3
|
adapter: sqlite3
|
||||||
database: /path/to/examples/features/support/../../db/activerecord_one.db
|
database: /path/to/examples/features/support/../../db/activerecord_one.db
|
||||||
|
|
|
@ -10,7 +10,7 @@ module DatabaseCleaner
|
||||||
def [](orm, **opts)
|
def [](orm, **opts)
|
||||||
raise ArgumentError if orm.nil?
|
raise ArgumentError if orm.nil?
|
||||||
fetch([orm, opts]) { add_cleaner(orm, **opts) }
|
fetch([orm, opts]) { add_cleaner(orm, **opts) }
|
||||||
end
|
end
|
||||||
|
|
||||||
def strategy=(strategy)
|
def strategy=(strategy)
|
||||||
values.each { |cleaner| cleaner.strategy = strategy }
|
values.each { |cleaner| cleaner.strategy = strategy }
|
||||||
|
|
Loading…
Reference in New Issue