diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-02 11:35:34 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-02 11:35:34 +0300 |
commit | 7f99aa57a28f56c6e04263cd7c2785ed867ec9a1 (patch) | |
tree | ea12959a3a1e5cbce9993bc9e0d000fa748dd22e | |
parent | fc65f71747a9b07cac3cb765c043150877a98565 (diff) | |
download | gitlab-ce-7f99aa57a28f56c6e04263cd7c2785ed867ec9a1.tar.gz |
Fix specs for internal api
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | spec/requests/api/internal_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/requests/api/internal_spec.rb b/spec/requests/api/internal_spec.rb index dbe8043c633..47da82c061f 100644 --- a/spec/requests/api/internal_spec.rb +++ b/spec/requests/api/internal_spec.rb @@ -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' |