Module: WebTrap::RSpec::Matchers
- Defined in:
- lib/webtrap/rspec/matchers.rb,
lib/webtrap/rspec/matchers/send_request.rb
Overview
Set of matchers available to define expections about outgoing requests.
Defined Under Namespace
Classes: SendRequest
Instance Method Summary collapse
-
#send_request ⇒ SendRequest
Passes if the expectation block sends an HTTP request.
Instance Method Details
#send_request ⇒ SendRequest
Passes if the expectation block sends an HTTP request.
Constraints to specify the expected request can be chained.
15 16 17 |
# File 'lib/webtrap/rspec/matchers.rb', line 15 def send_request SendRequest.new end |