Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
7f99aa57
Commit
7f99aa57
authored
Sep 02, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs for internal api
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
fc65f717
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
spec/requests/api/internal_spec.rb
spec/requests/api/internal_spec.rb
+1
-2
No files found.
spec/requests/api/internal_spec.rb
View file @
7f99aa57
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment