Skip to content
Browse files

Fixes problem with failing em-http-request with queries

  • Loading branch information...
1 parent 1acfa58 commit 2c92af635384704397e0ebe9b7f67bfa0e30cd65 Pawel Pierzchala committed Sep 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb
View
4 lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb
@@ -90,11 +90,11 @@ def build_request_signature
if @req
options = @req.options
method = @req.method
- uri = @req.uri
+ uri = @req.uri.dup
else
options = @options
method = @method
- uri = @uri
+ uri = @uri.dup
end
if options[:authorization] || options['authorization']

0 comments on commit 2c92af6

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