Mark api milestone specs as pending

This commit is contained in:
Dmitriy Zaporozhets 2012-08-29 18:09:41 +03:00
parent e5adca1b81
commit 8c44789e6f
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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