Sha256: 1b505811b100d792b1531fbe56ac0a12d28bda84f7ed3de5c421a2266b85411b
Contents?: true
Size: 664 Bytes
Versions: 39
Compression:
Stored size: 664 Bytes
Contents
# frozen_string_literal: true module ActionDispatch module SystemTesting module TestHelpers module SetupAndTeardown # :nodoc: def host!(host) ActiveSupport::Deprecation.warn \ "ActionDispatch::SystemTestCase#host! is deprecated with no replacement. " \ "Set Capybara.app_host directly or rely on Capybara's default host." Capybara.app_host = host end def before_teardown take_failed_screenshot ensure super end def after_teardown Capybara.reset_sessions! ensure super end end end end end
Version data entries
39 entries across 39 versions & 4 rubygems