diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-31 21:08:05 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-31 21:08:05 +0000 |
commit | abae8f34f377519946a91101ef7abf504454531c (patch) | |
tree | 359fab0082860b6850d4a0a492b8f12eb3d4eb0b /spec/controllers/concerns | |
parent | 580622bdb3c762a8e89facd8a3946881ee480442 (diff) | |
download | gitlab-ce-abae8f34f377519946a91101ef7abf504454531c.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/concerns')
-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 |