Permalink
Browse files

Added back WebMock.registered_request? (it's used by VCR)

  • Loading branch information...
1 parent 290fcef commit ea3bd5725190ca52a94bd9b9a5b4bec9a6de0b47 @bblimke committed Oct 10, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/webmock/webmock.rb
View
@@ -49,5 +49,9 @@ def self.reset_callbacks
def self.after_request(options={}, &block)
CallbackRegistry.add_callback(options, block)
end
+
+ def self.registered_request?(request_signature)
+ RequestRegistry.instance.registered_request?(request_signature)
+ end
end

0 comments on commit ea3bd57

Please sign in to comment.