Skip to content

Commit

Permalink
Made spec compatible with em-http-request 0.x adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
bblimke committed Sep 9, 2012
1 parent f38d04f commit f86bdde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/acceptance/em_http_request/em_http_request_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit f86bdde

Please sign in to comment.