fix wrong test case

This commit is contained in:
Nihad Abbasov 2012-10-19 03:28:26 -07:00
parent 2dc0f098fd
commit 0369c74e58
1 changed files with 2 additions and 2 deletions

View File

@ -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