From 8c44789e6fc00a9cdbe3020232ad546941af18b9 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 29 Aug 2012 18:09:41 +0300 Subject: [PATCH] Mark api milestone specs as pending --- spec/api/milestones_spec.rb | 1 + spec/requests/api/issues_spec.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/api/milestones_spec.rb b/spec/api/milestones_spec.rb index ba1d15cc..ce602367 100644 --- a/spec/api/milestones_spec.rb +++ b/spec/api/milestones_spec.rb @@ -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 diff --git a/spec/requests/api/issues_spec.rb b/spec/requests/api/issues_spec.rb index 4c680425..2917980b 100644 --- a/spec/requests/api/issues_spec.rb +++ b/spec/requests/api/issues_spec.rb @@ -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