From c24b3e39dc22f3f7bb54f27e1c6dd4699735f569 Mon Sep 17 00:00:00 2001 From: Maxim Krizhanovsky Date: Thu, 3 Nov 2022 13:35:48 +0000 Subject: [PATCH] Revert "Add `RESTRICT_ON_SEND` for `RSpec/FactoryBot/ConsistentParenthesesStyle`" --- .../cop/rspec/factory_bot/consistent_parentheses_style.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rubocop/cop/rspec/factory_bot/consistent_parentheses_style.rb b/lib/rubocop/cop/rspec/factory_bot/consistent_parentheses_style.rb index 34cc54fab..f47aa3afb 100644 --- a/lib/rubocop/cop/rspec/factory_bot/consistent_parentheses_style.rb +++ b/lib/rubocop/cop/rspec/factory_bot/consistent_parentheses_style.rb @@ -54,7 +54,6 @@ def self.autocorrect_incompatible_with MSG_OMIT_PARENS = 'Prefer method call without parentheses' FACTORY_CALLS = RuboCop::RSpec::FactoryBot::Language::METHODS - RESTRICT_ON_SEND = FACTORY_CALLS RESTRICT_ON_SEND = FACTORY_CALLS