summaryrefslogtreecommitdiff
path: root/spec/requests/api/issues_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-29 11:58:33 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-29 11:58:33 -0400
commitdde8ed44553626ec8db9ad97eed95c2d12dc4dc7 (patch)
tree267dc8c5158da1586cfee15f84f2e2a4e6c63d12 /spec/requests/api/issues_spec.rb
parent8c44789e6fc00a9cdbe3020232ad546941af18b9 (diff)
downloadgitlab-ce-dde8ed44553626ec8db9ad97eed95c2d12dc4dc7.tar.gz
Fix milestone API specs and moved to requests/api
Closes #1331
Diffstat (limited to 'spec/requests/api/issues_spec.rb')
-rw-r--r--spec/requests/api/issues_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/issues_spec.rb b/spec/requests/api/issues_spec.rb
index 2917980b64e..293ea83ae6c 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("/projects/#{project.code}/issues/#{issue.id}?private_token=#{user.private_token}")
+ delete api("/projects/#{project.code}/issues/#{issue.id}", user)
response.status.should == 405
end
end