module WebTrap::RSpec::Matchers

Set of matchers available to define expections about outgoing requests.

Public Instance Methods

send_request() click to toggle source

Passes if the expectation block sends an HTTP request.

Constraints to specify the expected request can be chained.

@return [SendRequest]

The matcher instance to verify that a request is sent.
# File lib/webtrap/rspec/matchers.rb, line 15
def send_request
  SendRequest.new
end