fix wrong test case
This commit is contained in:
parent
2dc0f098fd
commit
0369c74e58
1 changed files with 2 additions and 2 deletions
|
@ -192,9 +192,9 @@ describe Gitlab::API do
|
|||
describe "PUT /projects/:id/hooks/:hook_id" do
|
||||
it "should update an existing project hook" do
|
||||
put api("/projects/#{project.code}/hooks/#{hook.id}", user),
|
||||
url: 'http://example.com'
|
||||
url: 'http://example.org'
|
||||
response.status.should == 200
|
||||
json_response['url'].should == 'http://example.com'
|
||||
json_response['url'].should == 'http://example.org'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue