From 0369c74e581ed7f3c2e6576be3f1afcd20b54022 Mon Sep 17 00:00:00 2001 From: Nihad Abbasov Date: Fri, 19 Oct 2012 03:28:26 -0700 Subject: [PATCH] fix wrong test case --- spec/requests/api/projects_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb index a6c270a..5f9a587 100644 --- a/spec/requests/api/projects_spec.rb +++ b/spec/requests/api/projects_spec.rb @@ -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 -- libgit2 0.21.2