Commit 652d28f56bdf7bb2e2f2e2619221535a7bb2ec04
Exists in
master
and in
4 other branches
Merge pull request #1087 from m16a1/patch-1
Fix typo in spec
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/api/projects_spec.rb
... | ... | @@ -78,7 +78,7 @@ describe Gitlab::API do |
78 | 78 | end |
79 | 79 | |
80 | 80 | describe "DELETE /projects/:id/snippets/:snippet_id" do |
81 | - it "should create a new project snippet" do | |
81 | + it "should delete existing project snippet" do | |
82 | 82 | expect { |
83 | 83 | delete "#{api_prefix}/projects/#{project.code}/snippets/#{snippet.id}?private_token=#{user.private_token}" |
84 | 84 | }.should change { Snippet.count }.by(-1) | ... | ... |