diff --git a/lib/rubocop/cop/rspec/change_by_zero.rb b/lib/rubocop/cop/rspec/change_by_zero.rb index 8e38a8c15..bcbff02e3 100644 --- a/lib/rubocop/cop/rspec/change_by_zero.rb +++ b/lib/rubocop/cop/rspec/change_by_zero.rb @@ -77,7 +77,7 @@ class ChangeByZero < Base (block (send nil? :change) (args) - (send (...) $_)) :by + (send (...) _)) :by (int 0)) PATTERN