1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
thoughtbot--factory_bot_rails/features
Daniel Colson 4e730548cb Introduce definition file path configuration
Fixes #165 and closes #166

Currently the only way to customize the factory definition file
paths is to do it in an initializer right after the
"factory_bot.set_factory_paths" initializer. With this commit,
we can customize factory definition file paths by
setting `config.factory_bot.definition_file_paths`
in config/application.rb or the appropriate environment file.

Once we update the documentation to include this new configuration, we
should be able to close #149 and #180 as well, since using this
configuration can replace the initializer solution for sharing factories
in an engine (the initializer solution will still work, but with the new
configuration you don't need to know anything about the
fbr railtie).

This will also allow us to close #192, since we can use this
configuration with an empty array to disable automatic loading
of factories in development.
2018-09-14 20:09:10 +00:00
..
step_definitions Rename all girl -> bot 2017-10-20 18:21:52 -04:00
support Correctly configure Aruba command timeout 2016-04-07 17:52:00 -04:00
fixture_replacement_config.feature Rename all girl -> bot 2017-10-20 18:21:52 -04:00
generators.feature Update ModelGenerator to generate dynamic attributes 2018-09-03 15:37:26 +00:00
load_definitions.feature Introduce definition file path configuration 2018-09-14 20:09:10 +00:00