Add FactoryBot/FactoryAssociationWithStrategy rule

This rule was added in rubocop-factory_bot 2.23.0. Even if we always
follow it, it's a mistake that we've accidentally made in the past
during development.
This commit is contained in:
Javi Martín
2023-09-08 13:37:38 +02:00
parent 1d5f03be8c
commit 3b2484af77

View File

@@ -35,6 +35,9 @@ Capybara/VisibilityMatcher:
FactoryBot/ConsistentParenthesesStyle: FactoryBot/ConsistentParenthesesStyle:
Enabled: true Enabled: true
FactoryBot/FactoryAssociationWithStrategy:
Enabled: true
FactoryBot/FactoryClassName: FactoryBot/FactoryClassName:
Enabled: true Enabled: true