diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-07-01 14:30:39 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-07-01 14:30:39 +0800 |
commit | ef960286e552007a8c4e039de9ea5b3aa71e4669 (patch) | |
tree | d37476fd808bbacd03b3099299292297ca5a9356 /spec/requests/ci/api/builds_spec.rb | |
parent | 9f2101804083ba48fc85efce9846eca2d56474bf (diff) | |
download | gitlab-ce-ef960286e552007a8c4e039de9ea5b3aa71e4669.tar.gz |
Rename shared_examples, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4964#note_12817406
Diffstat (limited to 'spec/requests/ci/api/builds_spec.rb')
-rw-r--r-- | spec/requests/ci/api/builds_spec.rb | 8 |
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 666fdbdd2b5..0c4e9be96ff 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 'post artifact' do + shared_examples 'artifacts sender' 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 'post artifact' + it_behaves_like 'artifacts sender' 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 'post artifact' + it_behaves_like 'artifacts sender' 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 'post artifact' + it_behaves_like 'artifacts sender' end end |