diff --git a/spec/models/ci/project_spec.rb b/spec/models/ci/project_spec.rb index f24a77d08ff07990dd603d8cdc0bc6da9e077e6b..1025868da6e5d71a6c4468a2e0350541527f282d 100644 --- a/spec/models/ci/project_spec.rb +++ b/spec/models/ci/project_spec.rb @@ -132,7 +132,7 @@ describe Ci::Project do it { is_expected.to be_kind_of(Ci::Project) } it { expect(subject.name).to eq(project.name_with_namespace) } it { expect(subject.gitlab_id).to eq(project.id) } - it { expect(subject.gitlab_url).to eq(project.path_with_namespace) } + it { expect(subject.gitlab_url).to eq(project.web_url) } end describe :repo_url_with_auth do