diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-21 06:06:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-09-21 06:06:07 +0300 |
commit | f610aa7c6d6e98e72f630b7e9170fd060ed963f8 (patch) | |
tree | 972d953c7958aa9d154f3ef46b7f860cfbc7d9a2 /spec/lib/gitlab/danger | |
parent | 12577c6e3988054d510529d8de4ec99d1cdbfc85 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/gitlab/danger')
-rw-r--r-- | spec/lib/gitlab/danger/helper_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/lib/gitlab/danger/helper_spec.rb b/spec/lib/gitlab/danger/helper_spec.rb index 1b4d366ce7b..ed5a5e2f518 100644 --- a/spec/lib/gitlab/danger/helper_spec.rb +++ b/spec/lib/gitlab/danger/helper_spec.rb @@ -86,8 +86,8 @@ describe Gitlab::Danger::Helper do describe '#ee?' do subject { helper.ee? } - it 'returns true if CI_PROJECT_NAME if set to gitlab-ee' do - stub_env('CI_PROJECT_NAME', 'gitlab-ee') + it 'returns true if CI_PROJECT_NAME if set to gitlab' do + stub_env('CI_PROJECT_NAME', 'gitlab') expect(File).not_to receive(:exist?) is_expected.to be_truthy @@ -118,16 +118,16 @@ describe Gitlab::Danger::Helper do describe '#project_name' do subject { helper.project_name } - it 'returns gitlab-ee if ee? returns true' do + it 'returns gitlab if ee? returns true' do expect(helper).to receive(:ee?) { true } - is_expected.to eq('gitlab-ee') + is_expected.to eq('gitlab') end it 'returns gitlab-ce if ee? returns false' do expect(helper).to receive(:ee?) { false } - is_expected.to eq('gitlab-ce') + is_expected.to eq('gitlab-foss') end end |