Introduce have_gitlab_http_status
What does this MR do?
Introduce have_gitlab_http_status
Are there points in the code the reviewer needs to double check?
Do we need some tests for this?
Why was this MR needed?
So that it's easier to see why it's failing. Here's an example output which helped me a lot!
1) API::Settings Settings PUT /application/settings custom repository storage type set in the config updates application settings
Failure/Error: expect(response).to have_gitlab_http_status(200)
expected the response to have status code 200 but it was 400. The response was: {"error":"password_authentication_enabled, signin_enabled are mutually exclusive"}
What are the relevant issue numbers?
Closes #34964 (closed)