diff --git a/spec/httparty/request_spec.rb b/spec/httparty/request_spec.rb index f06a71f..70c71e7 100644 --- a/spec/httparty/request_spec.rb +++ b/spec/httparty/request_spec.rb @@ -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 diff --git a/spec/support/ssl_test_server.rb b/spec/support/ssl_test_server.rb index a2e2d73..8a74038 100644 --- a/spec/support/ssl_test_server.rb +++ b/spec/support/ssl_test_server.rb @@ -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)