Mark api milestone specs as pending
This commit is contained in:
parent
e5adca1b81
commit
8c44789e6f
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ describe Gitlab::API do
|
|||
let!(:milestone) { Factory :milestone, project: project }
|
||||
|
||||
before { project.add_access(user, :read) }
|
||||
before { return pending }
|
||||
|
||||
describe "GET /projects/:id/milestones" do
|
||||
it "should return project milestones" do
|
||||
|
|
|
@ -65,7 +65,7 @@ describe Gitlab::API do
|
|||
|
||||
describe "DELETE /projects/:id/issues/:issue_id" 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
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue