summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-05 19:08:26 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-05 19:08:26 +0000
commit25d3fc8823cfd11efc6ff732dc9cbe32a7361fe0 (patch)
tree6ef8b1573b9d0c062572ec4047ba5a058e8dbeeb /test
parent66ba4e362d7846830c861b7a2a6972498bb37f7c (diff)
suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/net/http/test_https.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index b59570f..0df003b 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -51,7 +51,7 @@ class TestNetHTTPS < Test::Unit::TestCase
store_ctx.current_cert.to_der == config('ssl_certificate').to_der
end
data = config('ssl_private_key').to_der
- http.request_post("/", data) {|res|
+ http.request_post("/", data, {'content-type' => 'application/x-www-form-urlencoded'}) {|res|
assert_equal(data, res.body)
}
rescue SystemCallError