Commit 0369c74e authored by Nihad Abbasov's avatar Nihad Abbasov

fix wrong test case

parent 2dc0f098
......@@ -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
......
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