Skip to content

Commit

Permalink
Remove trailing whitespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
expeehaa authored and botandrose committed Jan 21, 2021
1 parent f7b9246 commit c6a401d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/config/database.yml.example
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion lib/database_cleaner/cleaners.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def initialize hash={}
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 }
Expand Down

0 comments on commit c6a401d

Please sign in to comment.