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

def self.valid_statuses

Other tags:
    See: https://github.com/rails/rails/blob/master/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, :redirect]
end