lib/webmock/api.rb in webmock-3.0.1 vs lib/webmock/api.rb in webmock-3.1.0

- old
+ new

@@ -52,9 +52,17 @@ else WebMock::Matchers::HashIncludingMatcher.new(anythingize_lonely_keys(*args)) end end + def hash_excluding(*args) + if defined?(super) + super + else + WebMock::Matchers::HashExcludingMatcher.new(anythingize_lonely_keys(*args)) + end + end + def remove_request_stub(stub) WebMock::StubRegistry.instance.remove_request_stub(stub) end private