From f0d9535ee70e9991773c86a150bbd04822eb8cfc Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Mon, 19 Oct 2020 11:02:59 +0900 Subject: [PATCH] Disable `RSpec/FactoryBot/CreateList` This PR disables `RSpec/FactoryBot/CreateList` as a workaround for https://github.com/rubocop-hq/rubocop-rails/issues/374. --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 69c414b934..4be57f1681 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -93,6 +93,10 @@ Metrics/ModuleLength: Exclude: - 'spec/**/*.rb' +# This disabling is a workaround for https://github.com/rubocop-hq/rubocop-rails/issues/374. +RSpec/FactoryBot/CreateList: + Enabled: false + RSpec/PredicateMatcher: EnforcedStyle: explicit