class RSpec::Rails::Matchers::HaveHttpStatus::SymbolicStatus

def failure_message

Returns:
  • (String) - explaining why the match failed
def failure_message
  invalid_response_type_message ||
  "expected the response to have status code #{pp_expected} but it" \
    " was #{pp_actual}"
end