Commit df62cbd9 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Add parentheses

parent bebe110d
...@@ -287,20 +287,20 @@ describe 'Git HTTP requests', lib: true do ...@@ -287,20 +287,20 @@ describe 'Git HTTP requests', lib: true do
def download(project, user: nil, password: nil) def download(project, user: nil, password: nil)
args = [project, { user: user, password: password }] args = [project, { user: user, password: password }]
clone_get *args clone_get(*args)
yield response yield response
clone_post *args clone_post(*args)
yield response yield response
end end
def upload(project, user: nil, password: nil) def upload(project, user: nil, password: nil)
args = [project, { user: user, password: password }] args = [project, { user: user, password: password }]
push_get *args push_get(*args)
yield response yield response
push_post *args push_post(*args)
yield response yield response
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