Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 23:36:25 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-15 23:36:25 +0300
commit7e2dbcbe0915cfd75e91d78e943c153f284df37d (patch)
treec492e9889b5958a0a9ca4f99226d97a3ba2eadc6
parent0d23676f9d8dff5cad6ae2a11409d6026f423f21 (diff)
Fix: models/ci/project_spec.rb once again
-rw-r--r--spec/models/ci/project_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/project_spec.rb b/spec/models/ci/project_spec.rb
index 7c0fbbd60bb..f24a77d08ff 100644
--- a/spec/models/ci/project_spec.rb
+++ b/spec/models/ci/project_spec.rb
@@ -131,8 +131,8 @@ describe Ci::Project do
it { is_expected.to be_valid }
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(4) }
- it { expect(subject.gitlab_url).to eq("http://localhost/namespace5/gitlabhq") }
+ it { expect(subject.gitlab_id).to eq(project.id) }
+ it { expect(subject.gitlab_url).to eq(project.path_with_namespace) }
end
describe :repo_url_with_auth do