diff options
author | Alexandru Croitor <acroitor@gitlab.com> | 2019-03-28 15:18:50 +0200 |
---|---|---|
committer | Alexandru Croitor <acroitor@gitlab.com> | 2019-03-28 15:18:50 +0200 |
commit | 3f16b445b7d9395f67791ba3cf871fbb6df7485d (patch) | |
tree | 93b04d37b484e94769a113d49547dcd71801d8ca /spec/support | |
parent | 69c328a3ef4bafe7c4446f63823e87e4f15ac8b6 (diff) | |
download | gitlab-ce-3f16b445b7d9395f67791ba3cf871fbb6df7485d.tar.gz |
Add no-op license helper to CE6539-extract-ee-specific-code
Add no-op license helper to CE to make it compatible with EE codebase.
Helper will be overwritten in EE to allow for CE specs to be run under
EE codebase.
https://gitlab.com/gitlab-org/gitlab-ee/issues/6539
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/helpers/license_helper.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/support/helpers/license_helper.rb b/spec/support/helpers/license_helper.rb new file mode 100644 index 00000000000..4aaad55a8ef --- /dev/null +++ b/spec/support/helpers/license_helper.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +# Placeholder module for EE implementation needed for CE specs to be run in EE codebase +module LicenseHelpers + def stub_licensed_features(features) + # do nothing + end +end |