diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2019-07-22 17:11:50 +0200 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2019-07-29 13:53:20 +0200 |
commit | d7a4c1d2a5f395ca6ddb2dc2608ac33ccebf8a74 (patch) | |
tree | 0876a512726d727087c72e045866cc5aca01fe42 /spec/lib/gitlab_spec.rb | |
parent | ca05130319ae9d74ee7771b5a8adb6cf25857fb7 (diff) | |
download | gitlab-ce-d7a4c1d2a5f395ca6ddb2dc2608ac33ccebf8a74.tar.gz |
Backport EE changes made to the scripts/ directoryresolve-scripts-differences
This backport changes made by EE to the files in the scripts/ directory.
This comes with a few changes to some scripts to make them work in the
single codebase setup.
Diffstat (limited to 'spec/lib/gitlab_spec.rb')
-rw-r--r-- | spec/lib/gitlab_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/lib/gitlab_spec.rb b/spec/lib/gitlab_spec.rb index 82b0e819063..c293f58c9cb 100644 --- a/spec/lib/gitlab_spec.rb +++ b/spec/lib/gitlab_spec.rb @@ -136,6 +136,12 @@ describe Gitlab do expect(described_class.ee?).to eq(false) end + + it 'returns true when the IS_GITLAB_EE variable is not empty' do + stub_env('IS_GITLAB_EE', '1') + + expect(described_class.ee?).to eq(true) + end end describe '.http_proxy_env?' do |