diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-03 09:52:14 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-03 09:52:14 +0200 |
commit | d6036f08aa94fa5a45b569fc8b9e80f064496bcf (patch) | |
tree | a1ae3e66044c83116cf8d2dd7d860590b20f7613 /spec/models | |
parent | ce84e3f440e5f737ca808fd88cf54caefeda6b81 (diff) | |
download | gitlab-ce-d6036f08aa94fa5a45b569fc8b9e80f064496bcf.tar.gz |
move activated? method to service
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/gitlab_ci_service_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/gitlab_ci_service_spec.rb b/spec/models/gitlab_ci_service_spec.rb index 566dbd253c2..ec43d46b347 100644 --- a/spec/models/gitlab_ci_service_spec.rb +++ b/spec/models/gitlab_ci_service_spec.rb @@ -42,5 +42,9 @@ describe GitlabCiService do describe :commit_status_path do it { @service.commit_status_path("2ab7834c").should == "http://ci.gitlab.org/projects/2/builds/2ab7834c/status.json?token=verySecret"} end + + describe :build_page do + it { @service.build_page("2ab7834c").should == "http://ci.gitlab.org/projects/2/builds/2ab7834c"} + end end end |