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

def pp_status(status, code)

Returns:
  • (String) - pretty format the actual response status
def pp_status(status, code)
  if status
    "#{status.inspect} (#{code})"
  else
    code.to_s
  end
end