lib/rubocop/cop/rspec/multiple_subjects.rb in rubocop-rspec-1.21.0 vs lib/rubocop/cop/rspec/multiple_subjects.rb in rubocop-rspec-1.22.0

- old
+ new

@@ -62,11 +62,10 @@ private def rename_autocorrect(node) lambda do |corrector| - send_node, _args, _body = *node - corrector.replace(send_node.loc.selector, 'let') + corrector.replace(node.send_node.loc.selector, 'let') end end def remove_autocorrect(node) lambda do |corrector|