class RSpec::Rails::Matchers::HaveHttpStatus::SymbolicStatus
def set_expected_code!
-
(ArgumentError)
- if an associated code could not be found
Other tags:
- See: Rack::Utils::SYMBOL_TO_STATUS_CODE -
def set_expected_code! @expected ||= Rack::Utils.status_code(expected_status) end