Permalink
Browse files

Remove unused variable in spec

It removes below ruby's warning.

* "warning: assigned but unused variable"
  • Loading branch information...
1 parent c68c9e3 commit d571867afa0aac6906275aba4d4619ae8f59bec1 @kachick kachick committed Jan 26, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/httparty/request_spec.rb
  2. +1 −1 spec/support/ssl_test_server.rb
@@ -283,7 +283,7 @@
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 @@ def stop
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)

0 comments on commit d571867

Please sign in to comment.