Skip to content
Snippets Groups Projects
Commit 6de48227 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

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

parent 6dcb75f9
No related branches found
No related tags found
1 merge request!5142Add a download buttons for Build Artifacts
Loading
@@ -191,9 +191,7 @@ describe API::API, api: true do
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment