Commit a2f89be6 authored by Serena Fang's avatar Serena Fang

Apply MR review suggestions

parent a4ed0689
......@@ -2979,10 +2979,10 @@ RSpec.describe API::Users do
end
end
context 'with an invalid id user' do
context 'with an invalid user id' do
let(:user_id) { 'ASDF' }
it "returns a 404 for invalid ID" do
it 'returns a 404' do
unblock_user
expect(response).to have_gitlab_http_status(:not_found)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment