diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-23 03:10:57 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-12-23 03:10:57 +0400 |
commit | 3ff131a747834f6ef481a6fa8ee663fea3fac93b (patch) | |
tree | 90c92e466f989e9362c606c1d80b2adc6e06bc42 /spec | |
parent | 0af5884bcdd0f1ef7827a9493422cd6aad876219 (diff) |
Improve web hook data. Use clonable url in repo info
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/project_hooks_spec.rb | 2 |
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 |