BigW Consortium Gitlab

Commit 56b32239 by Sebastian Ziebell

Fixes test that checks status code of hook creation

parent 9544f903
......@@ -288,7 +288,7 @@ describe Gitlab::API do
post api("/projects/#{project.id}/hooks", user),
"url" => "http://example.com"
}.to change {project.hooks.count}.by(1)
response.status.should == 200
response.status.should == 201
end
end
......
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