Commit 8c44789e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Mark api milestone specs as pending

parent e5adca1b
...@@ -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
......
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment