Commit 6de48227 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Use single line even if they're more than 80 chars, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13125628
parent 6dcb75f9
...@@ -191,9 +191,7 @@ describe API::API, api: true do ...@@ -191,9 +191,7 @@ describe API::API, api: true do
include_context 'artifacts from ref and build name' include_context 'artifacts from ref and build name'
def path_from_ref(ref = pipeline.sha, job = build.name) def path_from_ref(ref = pipeline.sha, job = build.name)
api( api("/projects/#{project.id}/builds/artifacts/#{ref}/download?job=#{job}", user)
"/projects/#{project.id}/builds/artifacts/#{ref}/download?job=#{job}",
user)
end end
context '401' do context '401' do
......
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