Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-03 15:24:08 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-03 15:24:08 +0400
commite8f1331fa4b3f4c4037f6509b2a846f521f506fc (patch)
treedcb2eab0999d85ac607102a4cb3f62594f64dfd1 /spec
parent7a0e1c7238033b33b7296701bfded56d4ad7f250 (diff)
parentcf53b361b98b899aeededde6aad1d4aca54fd8ff (diff)
Merge branch 'internal-api-post' into 'master'
Internal api post See merge request !1059
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/api/internal_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/api/internal_spec.rb b/spec/requests/api/internal_spec.rb
index 47da82c061f..6df5ef38961 100644
--- a/spec/requests/api/internal_spec.rb
+++ b/spec/requests/api/internal_spec.rb
@@ -155,7 +155,7 @@ describe API::API, api: true do
end
def pull(key, project)
- get(
+ post(
api("/internal/allowed"),
key_id: key.id,
project: project.path_with_namespace,
@@ -164,7 +164,7 @@ describe API::API, api: true do
end
def push(key, project)
- get(
+ post(
api("/internal/allowed"),
changes: 'd14d6c0abdd253381df51a723d58691b2ee1ab08 570e7b2abdd848b95f2f578043fc23bd6f6fd24d refs/heads/master',
key_id: key.id,
@@ -174,7 +174,7 @@ describe API::API, api: true do
end
def archive(key, project)
- get(
+ post(
api("/internal/allowed"),
ref: 'master',
key_id: key.id,