From 6aa215aaea146f21eb5a88a511f7bbe84ad31ef5 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Thu, 1 Aug 2019 14:41:37 +0200 Subject: 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. --- qa/qa.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qa/qa.rb') 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. -- cgit v1.2.1