Skip to content
Snippets Groups Projects
Commit 652d28f5 authored by Nihad Abbasov's avatar Nihad Abbasov
Browse files

Merge pull request #1087 from m16a1/patch-1

Fix typo in spec
parents f88a2617 a46a172a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment