Mark api milestone specs as pending
This commit is contained in:
parent
e5adca1b81
commit
8c44789e6f
|
@ -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
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue