Skip to content
Snippets Groups Projects
Unverified Commit 4a41d4b7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Modify tests to match new gitlab_ci_service logic

parent 3246ed51
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -34,11 +34,11 @@ describe GitlabCiService do
end
 
describe :commit_status_path do
it { @service.commit_status_path("2ab7834c").should == "http://ci.gitlab.org/projects/2/builds/2ab7834c/status.json?token=verySecret"}
it { @service.commit_status_path("2ab7834c").should == "http://ci.gitlab.org/projects/2/commits/2ab7834c/status.json?token=verySecret"}
end
 
describe :build_page do
it { @service.build_page("2ab7834c").should == "http://ci.gitlab.org/projects/2/builds/2ab7834c"}
it { @service.build_page("2ab7834c").should == "http://ci.gitlab.org/projects/2/commits/2ab7834c"}
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment