Commit e3a422c2 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix LFS specs

parent 548169cf
...@@ -586,8 +586,8 @@ describe 'Git LFS API and storage' do ...@@ -586,8 +586,8 @@ describe 'Git LFS API and storage' do
context 'when CI is authorized' do context 'when CI is authorized' do
let(:authorization) { authorize_ci_project } let(:authorization) { authorize_ci_project }
it 'responds with 403' do it 'responds with 401' do
expect(response).to have_http_status(403) expect(response).to have_http_status(401)
end end
end end
end end
...@@ -613,8 +613,8 @@ describe 'Git LFS API and storage' do ...@@ -613,8 +613,8 @@ describe 'Git LFS API and storage' do
context 'when CI is authorized' do context 'when CI is authorized' do
let(:authorization) { authorize_ci_project } let(:authorization) { authorize_ci_project }
it 'responds with status 403' do it 'responds with status 401' do
expect(response).to have_http_status(403) expect(response).to have_http_status(401)
end end
end end
end end
......
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