123456789_123456789_123456789_123456789_123456789_

Module: ActionDispatch::SystemTesting::TestHelpers::SetupAndTeardown

Do not use. This module is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb

Instance Method Summary

Instance Method Details

#after_teardown

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb', line 15

def after_teardown
  Capybara.reset_sessions!
ensure
  super
end

#before_teardown

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb', line 9

def before_teardown
  take_failed_screenshot
ensure
  super
end