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:
parent
4dae016215
commit
e12cdd9b3c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue