mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixup 957efa95cc
This commit is contained in:
parent
e70a1d9b7f
commit
69c5474e10
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue