summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2019-08-02 16:25:30 +0000
committerRobert Speicher <rspeicher@gmail.com>2019-08-02 16:25:30 +0000
commit8374dd565d44e5f97c179dcb4cf03c7d3ea69363 (patch)
tree204df919644c90c1a18b7e676fd48c982ce95593 /config/initializers
parentb7b8c39583595cfc610079b5d8193b3d51883ffd (diff)
parent27194e08525fa2ef43aa9f3dbfda378a7b1258bd (diff)
downloadgitlab-ce-8374dd565d44e5f97c179dcb4cf03c7d3ea69363.tar.gz
Merge branch 'backport-fix-remaining-prepend-lines' into 'master'
Support X_if_ee methods for QA tests See merge request gitlab-org/gitlab-ce!31379
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/0_inject_enterprise_edition_module.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/0_inject_enterprise_edition_module.rb b/config/initializers/0_inject_enterprise_edition_module.rb
index 4b21732e179..39595e23abe 100644
--- a/config/initializers/0_inject_enterprise_edition_module.rb
+++ b/config/initializers/0_inject_enterprise_edition_module.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+require 'active_support/inflector'
+
module InjectEnterpriseEditionModule
def prepend_if_ee(constant)
prepend(constant.constantize) if Gitlab.ee?