From 97552924d0491dc10c3569e606a151ec13cd8bea Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Wed, 10 Apr 2019 23:46:16 +0800 Subject: Require possible EE extension --- spec/support/helpers/stub_configuration.rb | 3 +++ spec/support/helpers/stub_object_storage.rb | 3 +++ 2 files changed, 6 insertions(+) (limited to 'spec/support/helpers') 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") -- cgit v1.2.3