Skip to content

Commit

Permalink
Merge pull request #1461 from ydah/improvement_rspec_factory_bot_cons…
Browse files Browse the repository at this point in the history
…istent_parentheses_style

Add `RESTRICT_ON_SEND` for `RSpec/FactoryBot/ConsistentParenthesesStyle`
  • Loading branch information
Darhazer authored Nov 3, 2022
2 parents 6e50e06 + 70120b6 commit b18433b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ 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

Expand Down

0 comments on commit b18433b

Please # to comment.