ruby-changes:63598
From: Hiroshi <ko1@a...>
Date: Fri, 13 Nov 2020 13:20:09 +0900 (JST)
Subject: [ruby-changes:63598] 69c5474e10 (master): Fixup 957efa95cc12c608705a5663256226f022ea6c7f
https://git.ruby-lang.org/ruby.git/commit/?id=69c5474e10 From 69c5474e108a849a2bf71ff38f81efa433f2065f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Fri, 13 Nov 2020 13:19:38 +0900 Subject: Fixup 957efa95cc12c608705a5663256226f022ea6c7f 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 03fd32e..47b3eef 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 https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/net/http/http/send_request_spec.rb#L26 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/