From 3b2484af77fc94be708776585ca16a9661b7c08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 8 Sep 2023 13:37:38 +0200 Subject: [PATCH] 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. --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 5e8ee7a68..eb4d90c04 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -35,6 +35,9 @@ Capybara/VisibilityMatcher: FactoryBot/ConsistentParenthesesStyle: Enabled: true +FactoryBot/FactoryAssociationWithStrategy: + Enabled: true + FactoryBot/FactoryClassName: Enabled: true