mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix system tests transactions not closed between examples
This commit is contained in:
parent
db8cce202b
commit
5c4e1338e2
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ module ActionDispatch
|
||||||
def after_teardown
|
def after_teardown
|
||||||
take_failed_screenshot
|
take_failed_screenshot
|
||||||
Capybara.reset_sessions!
|
Capybara.reset_sessions!
|
||||||
|
ensure
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue