summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorm16a1 <a741su@gmail.com>2012-07-13 17:10:30 +0400
committerm16a1 <a741su@gmail.com>2012-07-13 17:10:30 +0400
commita46a172ad99d5b3aba7de7bd49fb0d48f5fd7b65 (patch)
tree47faf32ba96b42bc77abaa91c296d5b8ca4aff4f /spec
parentf88a2617e65ecc037d3f885965efcee39745163d (diff)
downloadgitlab-ce-a46a172ad99d5b3aba7de7bd49fb0d48f5fd7b65.tar.gz
Update master
Diffstat (limited to 'spec')
-rw-r--r--spec/api/projects_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/api/projects_spec.rb b/spec/api/projects_spec.rb
index a4e875f73c6..9998ee509bf 100644
--- a/spec/api/projects_spec.rb
+++ b/spec/api/projects_spec.rb
@@ -78,7 +78,7 @@ describe Gitlab::API do
end
describe "DELETE /projects/:id/snippets/:snippet_id" do
- it "should create a new project snippet" do
+ it "should delete existing project snippet" do
expect {
delete "#{api_prefix}/projects/#{project.code}/snippets/#{snippet.id}?private_token=#{user.private_token}"
}.should change { Snippet.count }.by(-1)