From 970ece243d05945f59f3cdf55e44dbfe5b16d2d5 Mon Sep 17 00:00:00 2001 From: eileencodes Date: Wed, 23 Nov 2016 17:35:17 -0500 Subject: Remove teardown code Since I've moved the teardown code that contains the screenshot handling to be generated when the application is generated this code was interfering with the screenshot taking. Because this runs before any app teardown code we would be resetting sessions before taking the screenshot, resulting in a blank browser window. The code to reset the sessions must come AFTER a screenshot has been taken. --- actionsystemtest/lib/action_system_test/test_helper.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'actionsystemtest/lib') diff --git a/actionsystemtest/lib/action_system_test/test_helper.rb b/actionsystemtest/lib/action_system_test/test_helper.rb index c9389b83ec..9ff5746244 100644 --- a/actionsystemtest/lib/action_system_test/test_helper.rb +++ b/actionsystemtest/lib/action_system_test/test_helper.rb @@ -13,10 +13,5 @@ module ActionSystemTest run Rails.application end end - - def after_teardown - Capybara.reset_sessions! - super - end end end -- cgit v1.2.3