summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-23 01:10:57 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-23 01:10:57 +0200
commit3ff131a747834f6ef481a6fa8ee663fea3fac93b (patch)
tree90c92e466f989e9362c606c1d80b2adc6e06bc42 /spec
parent0af5884bcdd0f1ef7827a9493422cd6aad876219 (diff)
downloadgitlab-ce-3ff131a747834f6ef481a6fa8ee663fea3fac93b.tar.gz
Improve web hook data. Use clonable url in repo info
Diffstat (limited to 'spec')
-rw-r--r--spec/models/project_hooks_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_hooks_spec.rb b/spec/models/project_hooks_spec.rb
index df6a3831e30..77adfe06cff 100644
--- a/spec/models/project_hooks_spec.rb
+++ b/spec/models/project_hooks_spec.rb
@@ -91,7 +91,7 @@ describe Project, "Hooks" do
subject { @data[:repository] }
it { should include(name: project.name) }
- it { should include(url: project.web_url) }
+ it { should include(url: project.url_to_repo) }
it { should include(description: project.description) }
it { should include(homepage: project.web_url) }
end