diff options
Diffstat (limited to 'spec/controllers/concerns/lfs_request_spec.rb')
-rw-r--r-- | spec/controllers/concerns/lfs_request_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/concerns/lfs_request_spec.rb b/spec/controllers/concerns/lfs_request_spec.rb index 67c81156ca6..f771a3438cf 100644 --- a/spec/controllers/concerns/lfs_request_spec.rb +++ b/spec/controllers/concerns/lfs_request_spec.rb @@ -48,7 +48,7 @@ describe LfsRequest do it 'returns 403' do get :show, params: { id: project.id } - expect(response.status).to eq(403) + expect(response).to have_gitlab_http_status(:forbidden) end end @@ -57,7 +57,7 @@ describe LfsRequest do it 'returns 404' do get :show, params: { id: 'does not exist' } - expect(response.status).to eq(404) + expect(response).to have_gitlab_http_status(:not_found) end end @@ -67,7 +67,7 @@ describe LfsRequest do it 'returns 404' do get :show, params: { id: project.id } - expect(response.status).to eq(404) + expect(response).to have_gitlab_http_status(:not_found) end end end |