Update master

This commit is contained in:
m16a1 2012-07-13 17:10:30 +04:00
parent f88a2617e6
commit a46a172ad9

View file

@ -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)