提交 56b32239 编写于 作者: S Sebastian Ziebell

Fixes test that checks status code of hook creation

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册