1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Hiroshi SHIBATA 2020-11-13 13:19:38 +09:00
parent e70a1d9b7f
commit 69c5474e10
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -26,7 +26,7 @@ describe "Net::HTTP#send_request" do
response = @http.send_request("HEAD", "/request") response = @http.send_request("HEAD", "/request")
response.body.should be_nil response.body.should be_nil
@methods.each do |method| (@methods - %w[POST PUT]).each do |method|
response = @http.send_request(method, "/request") response = @http.send_request(method, "/request")
response.body.should == "Request type: #{method}" response.body.should == "Request type: #{method}"
end end