mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
switches patch to use 1.8 hash syntax
This commit is contained in:
parent
fd65932870
commit
dc246adcc6
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module DatabaseCleaner
|
|||
@fibers||= []
|
||||
db= self.db
|
||||
f= Fiber.new do
|
||||
db.transaction(rollback: :always, savepoint: true) do
|
||||
db.transaction(:rollback => :always, :savepoint => true) do
|
||||
Fiber.yield
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue