Fixes test that checks status code of hook creation
This commit is contained in:
parent
9544f90389
commit
56b3223945
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue