Commit 49ea6ac7 authored by Airat Shigapov's avatar Airat Shigapov

Make sure DatabaseCleaner.clean runs AFTER Capybara's cleanup

parent beb0b666
...@@ -15,7 +15,7 @@ RSpec.configure do |config| ...@@ -15,7 +15,7 @@ RSpec.configure do |config|
DatabaseCleaner.start DatabaseCleaner.start
end end
config.after(:each) do config.append_after(:each) do
DatabaseCleaner.clean DatabaseCleaner.clean
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment