aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/system_testing/server_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/dispatch/system_testing/server_test.rb')
-rw-r--r--actionpack/test/dispatch/system_testing/server_test.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/actionpack/test/dispatch/system_testing/server_test.rb b/actionpack/test/dispatch/system_testing/server_test.rb
index 740e90a4da..33d2f6a645 100644
--- a/actionpack/test/dispatch/system_testing/server_test.rb
+++ b/actionpack/test/dispatch/system_testing/server_test.rb
@@ -5,10 +5,6 @@ require "capybara/dsl"
require "action_dispatch/system_testing/server"
class ServerTest < ActiveSupport::TestCase
- setup do
- @old_capybara_server = Capybara.server
- end
-
test "port is always included" do
ActionDispatch::SystemTesting::Server.new.run
assert Capybara.always_include_port, "expected Capybara.always_include_port to be true"
@@ -27,6 +23,6 @@ class ServerTest < ActiveSupport::TestCase
end
teardown do
- Capybara.server = @old_capybara_server
+ Capybara.server = :default
end
end