Add RuboCop for `have_gitlab_http_status(:symbol)`
# bad expect(response).to have_http_status(200) expect(response).to have_http_status(:ok) expect(response).to have_gitlab_http_status(200) # good expect(response).to have_gitlab_http_status(:ok) Our "Testing best practices" already suggests to prefer `have_gitlab_http_status` over `have_http_status`.
Showing
Please register or sign in to comment