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/lib/generators
Daniel Colson baffdb9005 Generate namespaced factories in a directory
Closes #231

When generating factories for namespaced models
(like `Admin::User`), we can follow the pattern used by the model and
model test generators of generating the file inside a directory matching
the namespace. With this commit we generate
`test/factories/admin/user.rb` instead of
`test/factories/admin_user.rb`.
2018-12-03 23:09:17 -05:00
..
factory_bot/model Generate namespaced factories in a directory 2018-12-03 23:09:17 -05:00
factory_bot.rb Fix remaining RuboCop TODOs 2018-10-03 21:40:07 -04:00