diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/net/http/test_http.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index 2e9a17e2b0..ea0d7cf343 100644 --- a/test/net/http/test_http.rb +++ b/test/net/http/test_http.rb @@ -270,6 +270,11 @@ module TestNetHTTPUtils spawn_server end + def teardown + # resume global state + Net::HTTP.version_1_2 + end + def spawn_server return if $test_net_http_server_running server = WEBrick::HTTPServer.new( |