Permalink
Browse files

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.
  • Loading branch information...
eileencodes committed Nov 23, 2016
1 parent 4f98b63 commit 970ece243d05945f59f3cdf55e44dbfe5b16d2d5
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionsystemtest/lib/action_system_test/test_helper.rb
@@ -13,10 +13,5 @@ module TestHelper # :nodoc:
run Rails.application
end
end
-
- def after_teardown
- Capybara.reset_sessions!
- super
- end
end
end

0 comments on commit 970ece2

Please sign in to comment.