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
8c44789e
Commit
8c44789e
authored
Aug 29, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark api milestone specs as pending
parent
e5adca1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
spec/api/milestones_spec.rb
spec/api/milestones_spec.rb
+1
-0
spec/requests/api/issues_spec.rb
spec/requests/api/issues_spec.rb
+1
-1
No files found.
spec/api/milestones_spec.rb
View file @
8c44789e
...
@@ -6,6 +6,7 @@ describe Gitlab::API do
...
@@ -6,6 +6,7 @@ describe Gitlab::API do
let!
(
:milestone
)
{
Factory
:milestone
,
project:
project
}
let!
(
:milestone
)
{
Factory
:milestone
,
project:
project
}
before
{
project
.
add_access
(
user
,
:read
)
}
before
{
project
.
add_access
(
user
,
:read
)
}
before
{
return
pending
}
describe
"GET /projects/:id/milestones"
do
describe
"GET /projects/:id/milestones"
do
it
"should return project milestones"
do
it
"should return project milestones"
do
...
...
spec/requests/api/issues_spec.rb
View file @
8c44789e
...
@@ -65,7 +65,7 @@ describe Gitlab::API do
...
@@ -65,7 +65,7 @@ describe Gitlab::API do
describe
"DELETE /projects/:id/issues/:issue_id"
do
describe
"DELETE /projects/:id/issues/:issue_id"
do
it
"should delete a project issue"
do
it
"should delete a project issue"
do
delete
"
#{
api_prefix
}
/projects/
#{
project
.
code
}
/issues/
#{
issue
.
id
}
?private_token=
#{
user
.
private_token
}
"
delete
api
(
"/projects/
#{
project
.
code
}
/issues/
#{
issue
.
id
}
?private_token=
#{
user
.
private_token
}
"
)
response
.
status
.
should
==
405
response
.
status
.
should
==
405
end
end
end
end
...
...
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