summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-10-19 03:28:26 -0700
committerNihad Abbasov <narkoz.2008@gmail.com>2012-10-19 03:28:26 -0700
commit0369c74e581ed7f3c2e6576be3f1afcd20b54022 (patch)
tree8d16300f63753cd9324e86dd32385d715f4dbaf2
parent2dc0f098fdfe1d07e557f7da92b3cff9d7351276 (diff)
downloadgitlab-ce-0369c74e581ed7f3c2e6576be3f1afcd20b54022.tar.gz
fix wrong test case
-rw-r--r--spec/requests/api/projects_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb
index a6c270aa4a6..5f9a587d57a 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