Commit a46a172a authored by m16a1's avatar m16a1

Update master

parent f88a2617
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment