提交 8374dd56 编写于 作者: R Robert Speicher

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
# frozen_string_literal: true
require 'active_support/inflector'
module InjectEnterpriseEditionModule
def prepend_if_ee(constant)
prepend(constant.constantize) if Gitlab.ee?
......
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册