Module: DebugExceptionsJson::Rspec::Matchers
- Defined in:
- lib/debug_exceptions_json/rspec/matchers.rb
Defined Under Namespace
Classes: StatusCodeMatcher
Instance Method Summary collapse
-
#have_status_code(expected_code) ⇒ Object
TODO: Accept symbol version.
Instance Method Details
#have_status_code(expected_code) ⇒ Object
TODO: Accept symbol version
7 8 9 |
# File 'lib/debug_exceptions_json/rspec/matchers.rb', line 7 def have_status_code(expected_code) StatusCodeMatcher.new(expected_code) end |