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