Sha256: 787e905771459c08525de3d17ef42d97683c0e9bae9d2a0dcdc8eb7493a3ea66
Contents?: true
Size: 534 Bytes
Versions: 5
Compression:
Stored size: 534 Bytes
Contents
require 'webmock' require 'webmock/rspec/matchers/request_pattern_matcher' require 'webmock/rspec/matchers/webmock_matcher' module WebMock module Matchers def have_been_made WebMock::RequestPatternMatcher.new end def have_not_been_made WebMock::RequestPatternMatcher.new.times(0) end def have_requested(method, uri) WebMock::WebMockMatcher.new(method, uri) end def have_not_requested(method, uri) WebMock::WebMockMatcher.new(method, uri).times(0) end end end
Version data entries
5 entries across 5 versions & 2 rubygems