Commit 7cc6a703 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Rename to "successful artifacts upload", feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4964#note_12861577
parent ef960286
...@@ -306,7 +306,7 @@ describe Ci::API::API do ...@@ -306,7 +306,7 @@ describe Ci::API::API do
end end
context 'should post artifact to running build' do context 'should post artifact to running build' do
shared_examples 'artifacts sender' do shared_examples 'successful artifacts upload' do
it 'updates successfully' do it 'updates successfully' do
response_filename = response_filename =
json_response['artifacts_file']['filename'] json_response['artifacts_file']['filename']
...@@ -321,7 +321,7 @@ describe Ci::API::API do ...@@ -321,7 +321,7 @@ describe Ci::API::API do
upload_artifacts(file_upload, headers_with_token, false) upload_artifacts(file_upload, headers_with_token, false)
end end
it_behaves_like 'artifacts sender' it_behaves_like 'successful artifacts upload'
end end
context 'uses accelerated file post' do context 'uses accelerated file post' do
...@@ -329,7 +329,7 @@ describe Ci::API::API do ...@@ -329,7 +329,7 @@ describe Ci::API::API do
upload_artifacts(file_upload, headers_with_token, true) upload_artifacts(file_upload, headers_with_token, true)
end end
it_behaves_like 'artifacts sender' it_behaves_like 'successful artifacts upload'
end end
context 'updates artifact' do context 'updates artifact' do
...@@ -338,7 +338,7 @@ describe Ci::API::API do ...@@ -338,7 +338,7 @@ describe Ci::API::API do
upload_artifacts(file_upload, headers_with_token) upload_artifacts(file_upload, headers_with_token)
end end
it_behaves_like 'artifacts sender' it_behaves_like 'successful artifacts upload'
end end
end end
......
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