Commit 40d5817a authored by Lin Jen-Shin's avatar Lin Jen-Shin

Require possible EE extension

parent 8d98d61b
...@@ -121,5 +121,7 @@ module StubConfiguration ...@@ -121,5 +121,7 @@ module StubConfiguration
end end
end end
require_relative '../../../ee/spec/support/helpers/ee/stub_configuration' require_relative '../../../ee/spec/support/helpers/ee/stub_configuration' if
Dir.exist?("#{__dir__}/../../../ee")
StubConfiguration.prepend(EE::StubConfiguration) StubConfiguration.prepend(EE::StubConfiguration)
...@@ -74,5 +74,7 @@ module StubObjectStorage ...@@ -74,5 +74,7 @@ module StubObjectStorage
end end
end end
require_relative '../../../ee/spec/support/helpers/ee/stub_object_storage' require_relative '../../../ee/spec/support/helpers/ee/stub_object_storage' if
Dir.exist?("#{__dir__}/../../../ee")
StubObjectStorage.prepend(EE::StubObjectStorage) StubObjectStorage.prepend(EE::StubObjectStorage)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment