summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-05-05 13:51:25 +0300
committerValery Sizov <vsv2711@gmail.com>2015-05-05 14:02:31 +0300
commit2144cc710a8aec35e8f0bfee8d398d884b9bb523 (patch)
tree2c9ea0480635489910ba77ae97677cd3eaf4ccde /spec
parent1132084d3fcbb5623546730a6269b2a5d1c2ada3 (diff)
downloadgitlab-ce-2144cc710a8aec35e8f0bfee8d398d884b9bb523.tar.gz
fix gitlab CI linksfix_ci_services
Diffstat (limited to 'spec')
-rw-r--r--spec/models/project_services/gitlab_ci_service_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/models/project_services/gitlab_ci_service_spec.rb b/spec/models/project_services/gitlab_ci_service_spec.rb
index afacd4afaf4..e5bf9125313 100644
--- a/spec/models/project_services/gitlab_ci_service_spec.rb
+++ b/spec/models/project_services/gitlab_ci_service_spec.rb
@@ -41,10 +41,12 @@ describe GitlabCiService do
describe :commit_status_path do
it { expect(@service.commit_status_path("2ab7834c", 'master')).to eq("http://ci.gitlab.org/projects/2/refs/master/commits/2ab7834c/status.json?token=verySecret")}
+ it { expect(@service.commit_status_path("issue#2", 'master')).to eq("http://ci.gitlab.org/projects/2/refs/master/commits/issue%232/status.json?token=verySecret")}
end
describe :build_page do
it { expect(@service.build_page("2ab7834c", 'master')).to eq("http://ci.gitlab.org/projects/2/refs/master/commits/2ab7834c")}
+ it { expect(@service.build_page("issue#2", 'master')).to eq("http://ci.gitlab.org/projects/2/refs/master/commits/issue%232")}
end
end