Fix specs for internal api

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-09-02 11:35:34 +03:00
parent fc65f71747
commit 7f99aa57a2
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 1 additions and 2 deletions

View File

@ -157,7 +157,6 @@ describe API::API, api: true do
def pull(key, project)
get(
api("/internal/allowed"),
ref: 'master',
key_id: key.id,
project: project.path_with_namespace,
action: 'git-upload-pack'
@ -167,7 +166,7 @@ describe API::API, api: true do
def push(key, project)
get(
api("/internal/allowed"),
ref: 'master',
changes: 'd14d6c0abdd253381df51a723d58691b2ee1ab08 570e7b2abdd848b95f2f578043fc23bd6f6fd24d refs/heads/master',
key_id: key.id,
project: project.path_with_namespace,
action: 'git-receive-pack'