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/spec
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
..
acceptance Fix self referencing trait error (#1294) 2019-09-10 16:24:20 -07:00
factory_bot Avoid time travel in tests 2019-08-01 11:21:06 +01:00
support Use temporary assignment helper to silence deprecations in specs 2019-08-12 18:54:53 +01:00
factory_bot_spec.rb Deprecate/Move strategies and callback methods 2019-06-04 20:09:14 -04:00
spec_helper.rb Adjust use_parent_strategy safely in specs 2019-08-12 18:54:53 +01:00