From 69c5474e108a849a2bf71ff38f81efa433f2065f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 13 Nov 2020 13:19:38 +0900 Subject: [PATCH] Fixup 957efa95cc12c608705a5663256226f022ea6c7f --- spec/ruby/library/net/http/http/send_request_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ruby/library/net/http/http/send_request_spec.rb b/spec/ruby/library/net/http/http/send_request_spec.rb index 03fd32e470..47b3eef5b9 100644 --- a/spec/ruby/library/net/http/http/send_request_spec.rb +++ b/spec/ruby/library/net/http/http/send_request_spec.rb @@ -26,7 +26,7 @@ describe "Net::HTTP#send_request" do response = @http.send_request("HEAD", "/request") response.body.should be_nil - @methods.each do |method| + (@methods - %w[POST PUT]).each do |method| response = @http.send_request(method, "/request") response.body.should == "Request type: #{method}" end