mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
7780065bd2
Changing the process of name selection for factory defining Example: rails g model UserMedia filename:string --force-plural ... invoke factory_bot create spec/factories/user_media.rb it generates the correct factory naming: FactoryBot.define do factory :user_media do filename { "MyString" } end end Fixes: #356 |
||
---|---|---|
.. | ||
factory_bot_rails | ||
generators | ||
factory_bot_rails.rb |