Class: ActionDispatch::IntegrationTest
- Inherits:
-
Object
- Object
- ActionDispatch::IntegrationTest
- Includes:
- Capybara::Assertions, Capybara::DSL, Capybara::Screenshot::MiniTestPlugin, Warden::Test::Helpers
- Defined in:
- lib/generators/templates/test_helper.rb
Instance Method Summary collapse
-
#after_teardown ⇒ Object
def teardown # Called after every single test end.
Instance Method Details
#after_teardown ⇒ Object
def teardown # Called after every single test end
36 37 38 |
# File 'lib/generators/templates/test_helper.rb', line 36 def after_teardown # I reset sessions here so capybara-screenshot can still make screenshots when tests fail super(); Capybara.reset_sessions! end |