mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Remove trailing whitespaces.
This commit is contained in:
parent
f7b9246e68
commit
c6a401dd5f
2 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
#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)
|
||||
two:
|
||||
two:
|
||||
adapter: sqlite3
|
||||
database: /path/to/examples/features/support/../../db/activerecord_two.db
|
||||
one:
|
||||
one:
|
||||
adapter: sqlite3
|
||||
database: /path/to/examples/features/support/../../db/activerecord_one.db
|
||||
|
|
|
@ -10,7 +10,7 @@ module DatabaseCleaner
|
|||
def [](orm, **opts)
|
||||
raise ArgumentError if orm.nil?
|
||||
fetch([orm, opts]) { add_cleaner(orm, **opts) }
|
||||
end
|
||||
end
|
||||
|
||||
def strategy=(strategy)
|
||||
values.each { |cleaner| cleaner.strategy = strategy }
|
||||
|
|
Loading…
Reference in a new issue