diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-06 14:27:42 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-06 14:27:42 +0200 |
commit | deaa7f54e016b6ae1051c38abb95586451f470c1 (patch) | |
tree | d99107eabddc94f4592b16702a223739d0ce08a9 /spec/controllers | |
parent | b03d9e506d88cbfa13d34e12e0595dbb92f46e7d (diff) | |
download | gitlab-ce-deaa7f54e016b6ae1051c38abb95586451f470c1.tar.gz |
Fix artifacts controller specs
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/artifacts_controller_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/controllers/projects/artifacts_controller_spec.rb b/spec/controllers/projects/artifacts_controller_spec.rb index d2c613a2423..caa63e7bd22 100644 --- a/spec/controllers/projects/artifacts_controller_spec.rb +++ b/spec/controllers/projects/artifacts_controller_spec.rb @@ -81,14 +81,6 @@ describe Projects::ArtifactsController do expect(params['Entry']).to eq(Base64.encode64('ci_artifacts.txt')) 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 describe 'GET latest_succeeded' do |