class RSpec::Rails::Matchers::HaveHttpStatus::GenericStatus

def self.valid_statuses

Other tags:
    See: https://github.com/rails/rails/blob/main/actionpack/lib/action_dispatch/testing/test_response.rb - `ActionDispatch::TestResponse`

Returns:
  • (Array) - of status codes which represent a HTTP status
def self.valid_statuses
  [
    :error, :success, :missing,
    :server_error, :successful, :not_found,
    :redirect
  ]
end