Class: ActionDispatch::IntegrationTest
- Inherits:
-
Object
- Object
- ActionDispatch::IntegrationTest
- Includes:
- Capybara::DSL, Capybara::Minitest::Assertions, DatabaseCleanerSupport, Formulaic::Dsl, Warden::Test::Helpers
- Defined in:
- lib/kowl/templates/tests/minitest/support/capybara.rb,
lib/kowl/templates/tests/minitest/support/database_cleaner.rb,
lib/kowl/templates/tests/minitest/support/formulaic.rb,
lib/kowl/templates/tests/minitest/support/devise.rb
Overview
used for Integration Testing
Instance Method Summary collapse
-
#teardown ⇒ Object
Reset sessions and driver between tests Use super wherever this method is redefined in your individual test classes.
Methods included from DatabaseCleanerSupport
#after_teardown, #before_setup
Instance Method Details
#teardown ⇒ Object
Reset sessions and driver between tests Use super wherever this method is redefined in your individual test classes
34 35 36 37 |
# File 'lib/kowl/templates/tests/minitest/support/capybara.rb', line 34 def teardown Capybara.reset_sessions! Capybara.use_default_driver end |