Commit 0369c74e581ed7f3c2e6576be3f1afcd20b54022
1 parent
2dc0f098
Exists in
master
and in
4 other branches
fix wrong test case
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
spec/requests/api/projects_spec.rb
| @@ -192,9 +192,9 @@ describe Gitlab::API do | @@ -192,9 +192,9 @@ describe Gitlab::API do | ||
| 192 | describe "PUT /projects/:id/hooks/:hook_id" do | 192 | describe "PUT /projects/:id/hooks/:hook_id" do |
| 193 | it "should update an existing project hook" do | 193 | it "should update an existing project hook" do |
| 194 | put api("/projects/#{project.code}/hooks/#{hook.id}", user), | 194 | put api("/projects/#{project.code}/hooks/#{hook.id}", user), |
| 195 | - url: 'http://example.com' | 195 | + url: 'http://example.org' |
| 196 | response.status.should == 200 | 196 | response.status.should == 200 |
| 197 | - json_response['url'].should == 'http://example.com' | 197 | + json_response['url'].should == 'http://example.org' |
| 198 | end | 198 | end |
| 199 | end | 199 | end |
| 200 | 200 |