Method: Factory.definition_file_paths
- Defined in:
- lib/factory_girl/factory.rb
.definition_file_paths ⇒ Object
An Array of strings specifying locations that should be searched for factory definitions. By default, factory_girl will attempt to require “factories,” “test/factories,” and “spec/factories.” Only the first existing file will be loaded.
14 15 16 |
# File 'lib/factory_girl/factory.rb', line 14 def definition_file_paths @definition_file_paths end |