1 2 3
Dir.glob(Rails.root.join('**','test','factories.rb')) do |factory_file| require factory_file end