1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/lib/factory_bot/declaration
Sweta 5ccc564923
Fix self referencing trait error (#1294)
If a new trait is defined with attributes,  check if attributes matches the name of
the trait. Raise an error if so, to avoid a recursive call to the
trait.

Co-authored-by: Daniel Colsen <daniel.j.colson@thoughtbot.com>
Co-authored-by: Paras Sanghavi <sanghaviparas@gmail.com>
2019-09-10 16:24:20 -07:00
..
association.rb Offer advice for association typo 2019-04-26 11:12:05 -04:00
dynamic.rb Raise more meaningful error for unregistered trait 2018-10-31 12:50:39 -04:00
implicit.rb Fix self referencing trait error (#1294) 2019-09-10 16:24:20 -07:00