Skip to content

Commit e14a98c

Browse files
authored
Merge pull request #963 from rubocop-hq/cleanup-unused-autocorrect-method
Cleanup unused method
2 parents 8ffc33d + f1bdd09 commit e14a98c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/rubocop/cop/rspec/predicate_matcher.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -288,15 +288,6 @@ def on_block(node)
288288
check_explicit(node) if style == :explicit
289289
end
290290

291-
def autocorrect(node)
292-
case style
293-
when :inflected
294-
autocorrect_inflected(node)
295-
when :explicit
296-
autocorrect_explicit(node)
297-
end
298-
end
299-
300291
private
301292

302293
# returns args location with whitespace

0 commit comments

Comments
 (0)