summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-12-03 12:02:35 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-12-03 12:05:24 +0100
commit02831af9da8f50a824bae223c5f5e6bdc0e0a225 (patch)
tree48341983cac83e4b4e18e3c0039520a197415a4d
parent0464c25f602dc2e4d147ca2ac714d49bf96ddcf2 (diff)
downloadgitlab-ce-02831af9da8f50a824bae223c5f5e6bdc0e0a225.tar.gz
Remove update artifacts test (it should not be needed)
-rw-r--r--spec/requests/api/runner_spec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/requests/api/runner_spec.rb b/spec/requests/api/runner_spec.rb
index 72962f5d0b4..679d391caa5 100644
--- a/spec/requests/api/runner_spec.rb
+++ b/spec/requests/api/runner_spec.rb
@@ -985,15 +985,6 @@ describe API::Runner do
it_behaves_like 'successful artifacts upload'
end
- context 'when updates artifact' do
- before do
- upload_artifacts(file_upload2, headers_with_token)
- upload_artifacts(file_upload, headers_with_token)
- end
-
- it_behaves_like 'successful artifacts upload'
- end
-
context 'when using runners token' do
it 'responds with forbidden' do
upload_artifacts(file_upload, headers.merge(API::Helpers::Runner::JOB_TOKEN_HEADER => job.project.runners_token))