Commit 7f99aa57 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix specs for internal api

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent fc65f717
...@@ -157,7 +157,6 @@ describe API::API, api: true do ...@@ -157,7 +157,6 @@ describe API::API, api: true do
def pull(key, project) def pull(key, project)
get( get(
api("/internal/allowed"), api("/internal/allowed"),
ref: 'master',
key_id: key.id, key_id: key.id,
project: project.path_with_namespace, project: project.path_with_namespace,
action: 'git-upload-pack' action: 'git-upload-pack'
...@@ -167,7 +166,7 @@ describe API::API, api: true do ...@@ -167,7 +166,7 @@ describe API::API, api: true do
def push(key, project) def push(key, project)
get( get(
api("/internal/allowed"), api("/internal/allowed"),
ref: 'master', changes: 'd14d6c0abdd253381df51a723d58691b2ee1ab08 570e7b2abdd848b95f2f578043fc23bd6f6fd24d refs/heads/master',
key_id: key.id, key_id: key.id,
project: project.path_with_namespace, project: project.path_with_namespace,
action: 'git-receive-pack' action: 'git-receive-pack'
......
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