Add rubocop rule for create_default inside let_it_be objects inside `factory_default: :keep` specs"
The following discussion from !54176 (merged) should be addressed:
-
@stanhu started a discussion: (+1 comment) Perhaps we need a Rubocop rule for this?
-
Also, I think we should only allow certain top-level factories like :project
,:group
as it's tricky to get right.
Alternatively, https://test-prof.evilmartians.io/#/recipes/let_it_be?id=state-leakage-detection for all let_it_be
seems good too
Edited by Thong Kuah