summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2019-07-22 17:11:50 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2019-07-29 13:53:20 +0200
commitd7a4c1d2a5f395ca6ddb2dc2608ac33ccebf8a74 (patch)
tree0876a512726d727087c72e045866cc5aca01fe42 /spec
parentca05130319ae9d74ee7771b5a8adb6cf25857fb7 (diff)
downloadgitlab-ce-resolve-scripts-differences.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')
-rw-r--r--spec/lib/gitlab_spec.rb6
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