mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
![]() By setting: FactoryGirl.duplicate_attribute_assignment_from_initialize_with = false This turns off duplicate assignment of attributes accessed from initialize_with. This means any attributes accessed from the factory and assigned in the initialize_with block won't be subsequently set after the object has been instantiated. This will be the default functionality in 4.0. Closes #345 |
||
---|---|---|
.. | ||
factory_girl | ||
factory_girl.rb |