diff options
Diffstat (limited to 'test/webrick/test_httpauth.rb')
-rw-r--r-- | test/webrick/test_httpauth.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/webrick/test_httpauth.rb b/test/webrick/test_httpauth.rb index 5833cb9eb9..71f683e791 100644 --- a/test/webrick/test_httpauth.rb +++ b/test/webrick/test_httpauth.rb @@ -59,6 +59,7 @@ class TestWEBrickHTTPAuth < Test::Unit::TestCase http.request(g){|res| assert_equal("hoge", res.body, log.call)} g.basic_auth("webrick", "not super") http.request(g){|res| assert_not_equal("hoge", res.body, log.call)} + tmpfile.close(true) } end @@ -140,6 +141,7 @@ class TestWEBrickHTTPAuth < Test::Unit::TestCase g['Authorization'] = credentials_for_request('webrick', "not super", params) http.request(g){|res| assert_not_equal("hoge", res.body, log.call)} end + tmpfile.close(true) } end |