mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
87b3e226d6
This reverts commit3420a14590
, reversing changes made toafb66a5a59
.
17 lines
400 B
Ruby
17 lines
400 B
Ruby
require "abstract_unit"
|
|
|
|
class RunnerTest < ActiveSupport::TestCase
|
|
test "runner preserves the setting of integration_session" do
|
|
runner = Class.new do
|
|
def before_setup
|
|
end
|
|
end.new
|
|
|
|
runner.extend(ActionDispatch::Integration::Runner)
|
|
runner.integration_session.host! "lvh.me"
|
|
|
|
runner.before_setup
|
|
|
|
assert_equal "lvh.me", runner.integration_session.host
|
|
end
|
|
end
|