fix wrong test case

This commit is contained in:
Nihad Abbasov 2012-10-19 03:28:26 -07:00
parent 2dc0f098fd
commit 0369c74e58

View file

@ -192,9 +192,9 @@ describe Gitlab::API do
describe "PUT /projects/:id/hooks/:hook_id" do describe "PUT /projects/:id/hooks/:hook_id" do
it "should update an existing project hook" do it "should update an existing project hook" do
put api("/projects/#{project.code}/hooks/#{hook.id}", user), put api("/projects/#{project.code}/hooks/#{hook.id}", user),
url: 'http://example.com' url: 'http://example.org'
response.status.should == 200 response.status.should == 200
json_response['url'].should == 'http://example.com' json_response['url'].should == 'http://example.org'
end end
end end