spec/support/database_cleaner.rb in idy-0.1.3 vs spec/support/database_cleaner.rb in idy-1.0.0
- old
+ new
@@ -7,10 +7,10 @@
DatabaseCleaner.strategy = :transaction
DatabaseCleaner.clean_with :transaction
end
- config.before :each do
+ config.before do
DatabaseCleaner.start
end
config.around do |spec|
DatabaseCleaner.cleaning do