module WebMock::Matchers
Public Instance Methods
have_been_made()
click to toggle source
# File lib/webmock/rspec/matchers.rb, line 7 def have_been_made WebMock::RequestPatternMatcher.new end
have_been_requested()
click to toggle source
# File lib/webmock/rspec/matchers.rb, line 11 def have_been_requested WebMock::RequestPatternMatcher.new end
have_not_been_made()
click to toggle source
# File lib/webmock/rspec/matchers.rb, line 16 def have_not_been_made WebMock::RequestPatternMatcher.new.times(0) end
have_not_requested(method, uri)
click to toggle source
# File lib/webmock/rspec/matchers.rb, line 24 def have_not_requested(method, uri) WebMock::WebMockMatcher.new(method, uri).times(0) end
have_requested(method, uri)
click to toggle source
# File lib/webmock/rspec/matchers.rb, line 20 def have_requested(method, uri) WebMock::WebMockMatcher.new(method, uri) end