Permalink
Browse files

Made spec compatible with em-http-request 0.x adapter

  • Loading branch information...
1 parent f38d04f commit f86bdded7fe675391416db0414deff615a42d007 @bblimke committed Sep 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 spec/acceptance/em_http_request/em_http_request_spec.rb
@@ -239,7 +239,8 @@ def client(uri, options = {})
it "#request_signature doesn't mutate the original uri" do
subject.uri.should == Addressable::URI.parse("http://www.example.com/?a=1")
- subject.request_signature.uri.should == Addressable::URI.parse(uri)
+ signature = WebMock::RequestRegistry.instance.requested_signatures.hash.keys.first
+ signature.uri.should == Addressable::URI.parse(uri)
end
end
end

0 comments on commit f86bdde

Please sign in to comment.