summaryrefslogtreecommitdiff
path: root/spec/requests/ci
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-04 19:04:51 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-04 19:04:51 +0800
commit7cc6a703f6fdec3aba3dfe857624dc3ad54ad7cf (patch)
tree2afcb905db1ed46b9c315fed7e41e31a7eda532a /spec/requests/ci
parentef960286e552007a8c4e039de9ea5b3aa71e4669 (diff)
downloadgitlab-ce-7cc6a703f6fdec3aba3dfe857624dc3ad54ad7cf.tar.gz
Rename to "successful artifacts upload", feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4964#note_12861577
Diffstat (limited to 'spec/requests/ci')
-rw-r--r--spec/requests/ci/api/builds_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/requests/ci/api/builds_spec.rb b/spec/requests/ci/api/builds_spec.rb
index 0c4e9be96ff..6b64a16404f 100644
--- a/spec/requests/ci/api/builds_spec.rb
+++ b/spec/requests/ci/api/builds_spec.rb
@@ -306,7 +306,7 @@ describe Ci::API::API do
end
context 'should post artifact to running build' do
- shared_examples 'artifacts sender' do
+ shared_examples 'successful artifacts upload' do
it 'updates successfully' do
response_filename =
json_response['artifacts_file']['filename']
@@ -321,7 +321,7 @@ describe Ci::API::API do
upload_artifacts(file_upload, headers_with_token, false)
end
- it_behaves_like 'artifacts sender'
+ it_behaves_like 'successful artifacts upload'
end
context 'uses accelerated file post' do
@@ -329,7 +329,7 @@ describe Ci::API::API do
upload_artifacts(file_upload, headers_with_token, true)
end
- it_behaves_like 'artifacts sender'
+ it_behaves_like 'successful artifacts upload'
end
context 'updates artifact' do
@@ -338,7 +338,7 @@ describe Ci::API::API do
upload_artifacts(file_upload, headers_with_token)
end
- it_behaves_like 'artifacts sender'
+ it_behaves_like 'successful artifacts upload'
end
end