Skip to content

Commit

Permalink
Merge pull request #963 from rubocop-hq/cleanup-unused-autocorrect-me…
Browse files Browse the repository at this point in the history
…thod

Cleanup unused method
  • Loading branch information
pirj committed Jul 12, 2020
2 parents 8ffc33d + f1bdd09 commit e14a98c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/rubocop/cop/rspec/predicate_matcher.rb
Expand Up @@ -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
Expand Down

0 comments on commit e14a98c

Please sign in to comment.