summaryrefslogtreecommitdiff
path: root/test/webrick
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-04 15:34:55 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-04 15:34:55 +0000
commit21538b219e21e9e20b60375dedbe839365526672 (patch)
treecfaf87a3114a5c94b8c383ca833f05a44390ae55 /test/webrick
parent0c91b2493c566b407e1ce9a64ed1a367f353716f (diff)
merge revision(s) 39899:
* test/ruby/test_require.rb: Remove temporally files in the tests. * test/ruby/test_rubyoptions.rb: Ditto. * test/logger/test_logger.rb: Ditto. * test/psych/test_psych.rb: Ditto. * test/readline/test_readline.rb: Ditto. * test/syslog/test_syslog_logger.rb: Ditto. * test/webrick/test_httpauth.rb: Ditto. * test/zlib/test_zlib.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/webrick')
-rw-r--r--test/webrick/test_httpauth.rb2
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