Sha256: aaf0a3ebd667ec806d487844b165b9020616904381a34aac1aa4f2d368a5a14c

Contents?: true

Size: 409 Bytes

Versions: 13

Compression:

Stored size: 409 Bytes

Contents

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

13 entries across 13 versions & 1 rubygems

Version Path
webmock-1.5.0 lib/webmock/adapters/rspec/matchers.rb
webmock-1.4.0 lib/webmock/adapters/rspec/matchers.rb
webmock-1.3.5 lib/webmock/adapters/rspec/matchers.rb
webmock-1.3.4 lib/webmock/adapters/rspec/matchers.rb
webmock-1.3.3 lib/webmock/adapters/rspec/matchers.rb
webmock-1.3.2 lib/webmock/adapters/rspec/matchers.rb
webmock-1.3.1 lib/webmock/adapters/rspec/matchers.rb
webmock-1.3.0 lib/webmock/adapters/rspec/matchers.rb
webmock-1.2.2 lib/webmock/adapters/rspec/matchers.rb
webmock-1.2.1 lib/webmock/adapters/rspec/matchers.rb
webmock-1.2.0 lib/webmock/adapters/rspec/matchers.rb
webmock-1.1.0 lib/webmock/adapters/rspec/matchers.rb
webmock-1.0.0 lib/webmock/adapters/rspec/matchers.rb