summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-09-15 16:17:57 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-09-15 16:17:57 +0200
commite3a422c2672096a819291c395623619c8c669e74 (patch)
tree044902dce8c39ed175eca2e4744927398c62d218 /spec
parent548169cfb57b27cca911d947e2aa6f4f7e6df004 (diff)
downloadgitlab-ce-e3a422c2672096a819291c395623619c8c669e74.tar.gz
Fix LFS specs
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/lfs_http_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/requests/lfs_http_spec.rb b/spec/requests/lfs_http_spec.rb
index 85290ec05c2..1ee3881b839 100644
--- a/spec/requests/lfs_http_spec.rb
+++ b/spec/requests/lfs_http_spec.rb
@@ -586,8 +586,8 @@ describe 'Git LFS API and storage' do
context 'when CI is authorized' do
let(:authorization) { authorize_ci_project }
- it 'responds with 403' do
- expect(response).to have_http_status(403)
+ it 'responds with 401' do
+ expect(response).to have_http_status(401)
end
end
end
@@ -613,8 +613,8 @@ describe 'Git LFS API and storage' do
context 'when CI is authorized' do
let(:authorization) { authorize_ci_project }
- it 'responds with status 403' do
- expect(response).to have_http_status(403)
+ it 'responds with status 401' do
+ expect(response).to have_http_status(401)
end
end
end