BigW Consortium Gitlab

Commit deaa7f54 by Grzegorz Bizon

Fix artifacts controller specs

parent b03d9e50
...@@ -81,14 +81,6 @@ describe Projects::ArtifactsController do ...@@ -81,14 +81,6 @@ describe Projects::ArtifactsController do
expect(params['Entry']).to eq(Base64.encode64('ci_artifacts.txt')) expect(params['Entry']).to eq(Base64.encode64('ci_artifacts.txt'))
end end
end end
context 'when the file does not exist' do
it 'responds Not Found' do
get :raw, namespace_id: project.namespace, project_id: project, job_id: job, path: 'unknown'
expect(response).to be_not_found
end
end
end end
describe 'GET latest_succeeded' do describe 'GET latest_succeeded' do
......
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