Skip to content
Snippets Groups Projects
Commit 04da04ff authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

fix api delete hook test

parent 03441769
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -485,9 +485,9 @@ describe Gitlab::API do
response.status.should == 200
end
 
it "should return a 400 error if hook id not given" do
it "should return a 405 error if hook id not given" do
delete api("/projects/#{project.id}/hooks", user)
response.status.should == 400
response.status.should == 405
end
end
 
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