Commit 7e2dbcbe authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix: models/ci/project_spec.rb once again

parent 0d23676f
...@@ -131,8 +131,8 @@ describe Ci::Project do ...@@ -131,8 +131,8 @@ describe Ci::Project do
it { is_expected.to be_valid } it { is_expected.to be_valid }
it { is_expected.to be_kind_of(Ci::Project) } it { is_expected.to be_kind_of(Ci::Project) }
it { expect(subject.name).to eq(project.name_with_namespace) } it { expect(subject.name).to eq(project.name_with_namespace) }
it { expect(subject.gitlab_id).to eq(4) } it { expect(subject.gitlab_id).to eq(project.id) }
it { expect(subject.gitlab_url).to eq("http://localhost/namespace5/gitlabhq") } it { expect(subject.gitlab_url).to eq(project.path_with_namespace) }
end end
describe :repo_url_with_auth do describe :repo_url_with_auth do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment