blob: 187ba2cc5ff03ab6540e25dbf6ab17da2db23fe2 (
plain) (
tree)
|
|
module ActionDispatch
module SystemTesting
module TestHelpers
module SetupAndTeardown # :nodoc:
DEFAULT_HOST = "127.0.0.1"
def before_setup
host! DEFAULT_HOST
super
end
def after_teardown
take_failed_screenshot
Capybara.reset_sessions!
super
end
end
end
end
end
|