lib/webmock/api.rb in webmock-1.5.0 vs lib/webmock/api.rb in webmock-1.6.0
- old
+ new
@@ -1,10 +1,10 @@
module WebMock
module API
extend self
def stub_request(method, uri)
- WebMock::RequestRegistry.instance.register_request_stub(WebMock::RequestStub.new(method, uri))
+ WebMock::StubRegistry.instance.register_request_stub(WebMock::RequestStub.new(method, uri))
end
alias_method :stub_http_request, :stub_request
def a_request(method, uri)
\ No newline at end of file