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

def check_expected_status(test_response, expected)

def check_expected_status(test_response, expected)
  test_response.send(
    "#{RESPONSE_METHODS.fetch(expected, expected)}?")
end