We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc98380 commit 37183feCopy full SHA for 37183fe
lib/factory_bot/find_definitions.rb
@@ -2,8 +2,9 @@ module FactoryBot
2
class << self
3
# An Array of strings specifying locations that should be searched for
4
# factory definitions. By default, factory_bot will attempt to require
5
- # "factories", "test/factories" and "spec/factories". Only the first
6
- # existing file will be loaded.
+ # "factories.rb", "factories/**/*.rb",
+ # "test/factories.rb", "test/factories/**.rb",
7
+ # "spec/factories.rb", and "spec/factories/**.rb".
8
attr_accessor :definition_file_paths
9
end
10
0 commit comments