diff options
author | Sergey Tarasov <dzirtusss@gmail.com> | 2018-03-19 15:29:30 +0200 |
---|---|---|
committer | Sergey Tarasov <dzirtusss@gmail.com> | 2018-03-19 15:29:30 +0200 |
commit | 5c4e1338e264ada11a8d5c8b7ebd71c534d98c2d (patch) | |
tree | 3b8b55f8c7116dbc30738b7babfca2310e1c7d8b /actionpack/lib/action_dispatch | |
parent | db8cce202b8e81154773e5195a3ae35e873427e6 (diff) | |
download | rails-5c4e1338e264ada11a8d5c8b7ebd71c534d98c2d.tar.gz rails-5c4e1338e264ada11a8d5c8b7ebd71c534d98c2d.tar.bz2 rails-5c4e1338e264ada11a8d5c8b7ebd71c534d98c2d.zip |
Fix system tests transactions not closed between examples
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb b/actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb index ffa85f4e14..e47d5020f4 100644 --- a/actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb +++ b/actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb @@ -19,6 +19,7 @@ module ActionDispatch def after_teardown take_failed_screenshot Capybara.reset_sessions! + ensure super end end |