From 5c4e1338e264ada11a8d5c8b7ebd71c534d98c2d Mon Sep 17 00:00:00 2001 From: Sergey Tarasov Date: Mon, 19 Mar 2018 15:29:30 +0200 Subject: Fix system tests transactions not closed between examples --- .../action_dispatch/system_testing/test_helpers/setup_and_teardown.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack') 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 -- cgit v1.2.3