Make sure DatabaseCleaner.clean runs AFTER Capybara's cleanup

This commit is contained in:
Airat Shigapov 2016-09-04 19:59:00 +03:00
parent beb0b666dc
commit 49ea6ac76f
No known key found for this signature in database
GPG key ID: 95B04300D2844C47

View file

@ -15,7 +15,7 @@ RSpec.configure do |config|
DatabaseCleaner.start
end
config.after(:each) do
config.append_after(:each) do
DatabaseCleaner.clean
end
end