blob: 1c89bfacfaf66bc7b9bacbeb0683ce1b3c51bed0 (
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
super
Capybara.reset_sessions!
end
end
end
end
end
|