Sha256: 6aabf122b66485f5f7ffcf72b9ddc047fc4db2f73bcf047dfaf563d143390ad6

Contents?: true

Size: 409 Bytes

Versions: 7

Compression:

Stored size: 409 Bytes

Contents

module WebMock
  module Matchers
    def have_been_made
      WebMock::RequestProfileMatcher.new
    end
    
    def have_not_been_made
      WebMock::RequestProfileMatcher.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

7 entries across 7 versions & 1 rubygems

Version Path
webmock-0.9.1 lib/webmock/adapters/rspec/matchers.rb
webmock-0.9.0 lib/webmock/adapters/rspec/matchers.rb
webmock-0.8.2 lib/webmock/adapters/rspec/matchers.rb
webmock-0.8.1 lib/webmock/adapters/rspec/matchers.rb
webmock-0.8.0 lib/webmock/adapters/rspec/matchers.rb
webmock-0.7.3 lib/webmock/adapters/rspec/matchers.rb
webmock-0.7.2 lib/webmock/adapters/rspec/matchers.rb