diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-05 13:27:40 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-05 13:34:49 +0300 |
commit | 3b874414c06156767117b7aa7ae705c7342d887c (patch) | |
tree | 04318abb3fe8f963a51b8b1360dd664e57359da5 /spec/requests/api/jobs_spec.rb | |
parent | 52e52f4a172ae5aa54eac4a22d98610ec5aea1b0 (diff) |
Do not use artifacts metadata to access single artifact
Diffstat (limited to 'spec/requests/api/jobs_spec.rb')
-rw-r--r-- | spec/requests/api/jobs_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/requests/api/jobs_spec.rb b/spec/requests/api/jobs_spec.rb index ba5cab3265a..9a113096951 100644 --- a/spec/requests/api/jobs_spec.rb +++ b/spec/requests/api/jobs_spec.rb @@ -220,14 +220,6 @@ describe API::Jobs do 'Gitlab-Workhorse-Send-Data' => /artifacts-entry/) end end - - context 'when request path is invalid' do - it 'does not find artifact file' do - get_artifact_file('invalid/path') - - expect(response).to have_http_status(404) - end - end end context 'when job does not have artifacts' do |