Sha256: ab0306fc73eeb2fb4b1c583e5a5ad03a21b97ff2e10346c44c3f0d7e28a1e2dd

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
actionpack-5.1.1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-5.1.0 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-5.1.0.rc2 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb
actionpack-5.1.0.rc1 lib/action_dispatch/system_testing/test_helpers/setup_and_teardown.rb