Module: RSpecApi::Matchers::Status
- Included in:
- RSpecApi::Matchers
- Defined in:
- lib/rspec-api/matchers/status/matcher.rb,
lib/rspec-api/matchers/status/have_status.rb
Defined Under Namespace
Classes: Matcher
Instance Method Summary collapse
-
#have_status(status) ⇒ Object
Passes if the object has a status that matches
status
.
Instance Method Details
#have_status(status) ⇒ Object
Passes if the object has a status that matches status
.
25 26 27 |
# File 'lib/rspec-api/matchers/status/have_status.rb', line 25 def have_status(status) RSpecApi::Matchers::Status::Matcher.new status end |