summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2019-04-10 23:46:16 +0800
committerLin Jen-Shin <godfat@godfat.org>2019-04-10 23:46:16 +0800
commit97552924d0491dc10c3569e606a151ec13cd8bea (patch)
treed2a5eb7e3723593d63914e0c90ff72d3b9ef4cf8 /spec
parentd99e540c16469ca95ef8580cd7ea4e215df8ff7e (diff)
downloadgitlab-ce-97552924d0491dc10c3569e606a151ec13cd8bea.tar.gz
Require possible EE extension
Diffstat (limited to 'spec')
-rw-r--r--spec/support/helpers/stub_configuration.rb3
-rw-r--r--spec/support/helpers/stub_object_storage.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/spec/support/helpers/stub_configuration.rb b/spec/support/helpers/stub_configuration.rb
index cfa9151b2d7..3e507fb133e 100644
--- a/spec/support/helpers/stub_configuration.rb
+++ b/spec/support/helpers/stub_configuration.rb
@@ -120,3 +120,6 @@ module StubConfiguration
end
end
end
+
+require_relative '../../../ee/spec/support/helpers/ee/stub_configuration' if
+ Dir.exist?("#{__dir__}/../../../ee")
diff --git a/spec/support/helpers/stub_object_storage.rb b/spec/support/helpers/stub_object_storage.rb
index 30c8477f16a..d31f9908714 100644
--- a/spec/support/helpers/stub_object_storage.rb
+++ b/spec/support/helpers/stub_object_storage.rb
@@ -73,3 +73,6 @@ module StubObjectStorage
EOS
end
end
+
+require_relative '../../../ee/spec/support/helpers/ee/stub_object_storage' if
+ Dir.exist?("#{__dir__}/../../../ee")