Skip to content
Browse files

fix compatibility with latest em-http-request gem

  • Loading branch information...
1 parent 3876948 commit 3cbc50fd4b1746550a41c69f07cab27226fbec1c @thoughtless thoughtless committed Mar 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/webmock/http_lib_adapters/em_http_request/em_http_request_1_x.rb
View
2 lib/webmock/http_lib_adapters/em_http_request/em_http_request_1_x.rb
@@ -154,7 +154,7 @@ def build_request_signature
method = @req.method
uri = @req.uri
- auth = @req.proxy[:authorization]
+ auth = @req.proxy[:authorization] if @req.proxy
query = @req.query
if auth

0 comments on commit 3cbc50f

Please sign in to comment.
Something went wrong with that request. Please try again.