diff options
author | Airat Shigapov <contact@airatshigapov.com> | 2016-09-04 19:59:00 +0300 |
---|---|---|
committer | Airat Shigapov <contact@airatshigapov.com> | 2016-09-04 19:59:00 +0300 |
commit | 49ea6ac76fc2f3db018abcf624825c1fb5256fd7 (patch) | |
tree | 32b38bcd37076631767ad2ec0991318658b883e2 /spec/support/db_cleaner.rb | |
parent | beb0b666dc000d51b7ed0eb264bd04ca466117d1 (diff) |
Make sure DatabaseCleaner.clean runs AFTER Capybara's cleanup
Diffstat (limited to 'spec/support/db_cleaner.rb')
-rw-r--r-- | spec/support/db_cleaner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/db_cleaner.rb b/spec/support/db_cleaner.rb index e0dbc9aa84c..ac38e31b77e 100644 --- a/spec/support/db_cleaner.rb +++ b/spec/support/db_cleaner.rb @@ -15,7 +15,7 @@ RSpec.configure do |config| DatabaseCleaner.start end - config.after(:each) do + config.append_after(:each) do DatabaseCleaner.clean end end |