spec_helper.rb in migration-lock-timeout-1.0.0 vs spec_helper.rb in migration-lock-timeout-1.1.0
- old
+ new
@@ -9,14 +9,13 @@
password: ENV['POSTGRES_DB_PASSWORD'],
host: 'localhost'
)
DatabaseCleaner.strategy = :transaction
DatabaseCleaner.clean_with(:truncation)
- end
+ end
config.around(:each) do |example|
DatabaseCleaner.cleaning do
example.run
- end
+ end
end
end
-