Permalink
Browse files

fix wrong test case

  • Loading branch information...
1 parent 2dc0f09 commit 0369c74e581ed7f3c2e6576be3f1afcd20b54022 @NARKOZ committed Oct 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/requests/api/projects_spec.rb
@@ -192,9 +192,9 @@
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

0 comments on commit 0369c74

Please sign in to comment.