summaryrefslogtreecommitdiff
path: root/qa/qa.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2019-08-01 14:41:37 +0200
committerRémy Coutable <remy@rymai.me>2019-08-19 09:43:37 +0200
commit6aa215aaea146f21eb5a88a511f7bbe84ad31ef5 (patch)
tree887b89ae6dcfd88ac10f6277215048c46447008d /qa/qa.rb
parent224db2f8901964a34851018dd93b962a45a3032f (diff)
downloadgitlab-ce-6aa215aaea146f21eb5a88a511f7bbe84ad31ef5.tar.gz
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/qa.rb')
-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.