diff --git a/lib/rubocop/cop/rspec/predicate_matcher.rb b/lib/rubocop/cop/rspec/predicate_matcher.rb index 504b72093..0a64f0e71 100644 --- a/lib/rubocop/cop/rspec/predicate_matcher.rb +++ b/lib/rubocop/cop/rspec/predicate_matcher.rb @@ -288,15 +288,6 @@ def on_block(node) check_explicit(node) if style == :explicit end - def autocorrect(node) - case style - when :inflected - autocorrect_inflected(node) - when :explicit - autocorrect_explicit(node) - end - end - private # returns args location with whitespace