BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
28de31f5
Commit
28de31f5
authored
May 28, 2014
by
Sean Edge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken repositories_spec test for creating new tags.
parent
2d4ba267
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
repositories_spec.rb
spec/requests/api/repositories_spec.rb
+2
-4
No files found.
spec/requests/api/repositories_spec.rb
View file @
28de31f5
...
...
@@ -27,12 +27,10 @@ describe API::API, api: true do
it
'should create a new tag'
do
post
api
(
"/projects/
#{
project
.
id
}
/repository/tags"
,
user
),
tag_name:
'v1.0.0'
,
ref:
'
621491c677087aa243f165eab467bfdfbee00be1
'
ref:
'
master
'
response
.
status
.
should
==
201
json_response
.
first
[
'name'
].
should
==
'v1.0.0'
json_response
[
'commit'
][
'id'
].
should
==
'621491c677087aa243f165eab467bfdfbee00be1'
json_response
[
'name'
].
should
==
'v1.0.0'
end
it
'should deny for user without push access'
do
post
api
(
"/projects/
#{
project
.
id
}
/repository/tags"
,
user2
),
...
...
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