Commit e5cddc97 authored by Mark Chao's avatar Mark Chao

Fix typo

parent 8a5e59bc
...@@ -27,7 +27,7 @@ RSpec.describe API::UsageDataNonSqlMetrics do ...@@ -27,7 +27,7 @@ RSpec.describe API::UsageDataNonSqlMetrics do
expect(json_response['counts']).to be_a(Hash) expect(json_response['counts']).to be_a(Hash)
end end
it 'returns forbidden is user is not admin' do it 'returns forbidden if user is not admin' do
get api(endpoint, user) get api(endpoint, user)
expect(response).to have_gitlab_http_status(:forbidden) expect(response).to have_gitlab_http_status(:forbidden)
......
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