1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

clean with transaction

This commit is contained in:
Zachary Scott 2013-08-10 00:57:36 -04:00
parent 4dae016215
commit e12cdd9b3c

View file

@ -5,7 +5,7 @@ DatabaseCleaner[:mongo_mapper].strategy = :truncation if defined? MongoMapper
RSpec.configure do |config|
config.before :suite do
DatabaseCleaner.clean_with :truncation
DatabaseCleaner.clean_with :transaction
end
config.before :each do
DatabaseCleaner.start