Make sure DatabaseCleaner.clean runs AFTER Capybara's cleanup
This commit is contained in:
parent
beb0b666dc
commit
49ea6ac76f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ RSpec.configure do |config|
|
|||
DatabaseCleaner.start
|
||||
end
|
||||
|
||||
config.after(:each) do
|
||||
config.append_after(:each) do
|
||||
DatabaseCleaner.clean
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue