diff options
author | Hiroshi SHIBATA <[email protected]> | 2020-11-13 13:19:38 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-11-13 13:19:38 +0900 |
commit | 69c5474e108a849a2bf71ff38f81efa433f2065f (patch) | |
tree | 8f7591715e59f2ba5b4ca778aa36c80e6ee11e60 /spec/ruby/library/net | |
parent | e70a1d9b7f71b0ed4a5808e24447dfef445c56ad (diff) |
Fixup 957efa95cc12c608705a5663256226f022ea6c7f
Diffstat (limited to 'spec/ruby/library/net')
-rw-r--r-- | spec/ruby/library/net/http/http/send_request_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |