lib/rubocop/cop/rspec/iterated_expectation.rb in rubocop-rspec-1.27.0 vs lib/rubocop/cop/rspec/iterated_expectation.rb in rubocop-rspec-1.28.0

- old
+ new

@@ -30,10 +30,10 @@ PATTERN def on_block(node) each?(node) do |arg, body| if single_expectation?(body, arg) || only_expectations?(body, arg) - add_offense(node.children.first, location: :expression) + add_offense(node.send_node, location: :expression) end end end private