We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 46e340a + 3e6b7ca commit 02838d0Copy full SHA for 02838d0
1 file changed
lib/solidus_dev_support/testing_support/factories.rb
@@ -8,7 +8,7 @@ module TestingSupport
8
module Factories
9
def self.load_for(*engines)
10
paths = engines.flat_map do |engine|
11
- engine.root.glob('lib/*/testing_support/factories{,.rb}')
+ engine.root.glob('lib/**/testing_support/factories{,.rb}')
12
end.map { |path| path.sub(/.rb\z/, '').to_s }
13
14
FactoryBot.definition_file_paths = [
0 commit comments