Permalink
Browse files

Merge pull request #168 from thoughtless/master

Fix compatibility with edge em-http-request
  • Loading branch information...
2 parents 3876948 + 3cbc50f commit 089ee505b9bbcbea7970b395cedf875b9633e0d1 @bblimke committed Mar 15, 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
@@ -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 089ee50

Please sign in to comment.