Update master
This commit is contained in:
parent
f88a2617e6
commit
a46a172ad9
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ describe Gitlab::API do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "DELETE /projects/:id/snippets/:snippet_id" do
|
describe "DELETE /projects/:id/snippets/:snippet_id" do
|
||||||
it "should create a new project snippet" do
|
it "should delete existing project snippet" do
|
||||||
expect {
|
expect {
|
||||||
delete "#{api_prefix}/projects/#{project.code}/snippets/#{snippet.id}?private_token=#{user.private_token}"
|
delete "#{api_prefix}/projects/#{project.code}/snippets/#{snippet.id}?private_token=#{user.private_token}"
|
||||||
}.should change { Snippet.count }.by(-1)
|
}.should change { Snippet.count }.by(-1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue