diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-24 11:25:29 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-24 11:25:29 +0000 |
| commit | 2bdbae5d7a70a5be787010e944fe74325d803b4a (patch) | |
| tree | 9d59eb4ff754b8657174f11ecb62c52c4a754c57 | |
| parent | 3f4b1114bcdb6d6d7baec17140412d163448fa7c (diff) | |
| download | ruby-2bdbae5d7a70a5be787010e944fe74325d803b4a.tar.gz ruby-2bdbae5d7a70a5be787010e944fe74325d803b4a.tar.xz ruby-2bdbae5d7a70a5be787010e944fe74325d803b4a.zip | |
* test/net/http/test_http.rb (teardown): ensure that Net::HTTP is version 1.2. [ruby-dev:27312]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | test/net/http/test_http.rb | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Sep 24 20:20:05 2005 Minero Aoki <aamine@loveruby.net> + + * test/net/http/test_http.rb (teardown): ensure that Net::HTTP is + version 1.2. [ruby-dev:27312] + Sat Sep 24 11:44:28 2005 Minero Aoki <aamine@loveruby.net> * test/net/http/test_http.rb: new file. diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb index 2e9a17e2b..ea0d7cf34 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( |
