Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2019-08-01 15:41:37 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2019-08-01 17:10:05 +0300
commit27194e08525fa2ef43aa9f3dbfda378a7b1258bd (patch)
treea52885aebbffa2da5b782e24f8eb038a55d2e045 /qa
parent252a0b0faa07160214e46e696cbfb0761e6f2a3d (diff)
Support X_if_ee methods for QA tests
For the QA tests to use the new injection methods, we must require the initializer and ensure that the "constantize" method is available.
Diffstat (limited to 'qa')
-rw-r--r--qa/qa.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/qa.rb b/qa/qa.rb
index 18fb4509dce..8be2a289422 100644
--- a/qa/qa.rb
+++ b/qa/qa.rb
@@ -4,6 +4,9 @@ $: << File.expand_path(File.dirname(__FILE__))
Encoding.default_external = 'UTF-8'
+require_relative '../lib/gitlab'
+require_relative '../config/initializers/0_inject_enterprise_edition_module'
+
module QA
##
# GitLab QA runtime classes, mostly singletons.