Remove trailing whitespaces.

This commit is contained in:
expeehaa 2021-01-21 08:26:59 +01:00 committed by Micah Geisel
parent f7b9246e68
commit c6a401dd5f
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 }