mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Remove unused variable in spec
It removes below ruby's warning. * "warning: assigned but unused variable"
This commit is contained in:
parent
c68c9e3aad
commit
d571867afa
2 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ describe HTTParty::Request do
|
|||
end
|
||||
|
||||
it "returns the HTTParty::Response when the 300 does not contain a location header" do
|
||||
net_response = stub_response '', 300
|
||||
stub_response '', 300
|
||||
HTTParty::Response.should === @request.perform
|
||||
end
|
||||
end
|
||||
|
|
|
@ -49,7 +49,7 @@ class SSLTestServer
|
|||
|
||||
def thread_main
|
||||
until @stopping_mutex.synchronize{ @stopping }
|
||||
(rr,ww,ee) = select([@ssl_server.to_io], nil, nil, 0.1)
|
||||
(rr,_,_) = select([@ssl_server.to_io], nil, nil, 0.1)
|
||||
|
||||
next unless rr && rr.include?(@ssl_server.to_io)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue