Fixes test that checks status code of hook creation
This commit is contained in:
parent
9544f90389
commit
56b3223945
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue