lib/rubocop/cop/rspec/iterated_expectation.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/iterated_expectation.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -32,10 +32,10 @@
PATTERN
def on_block(node)
each?(node) do |arg, body|
if single_expectation?(body, arg) || only_expectations?(body, arg)
- add_offense(node.send_node, location: :expression)
+ add_offense(node.send_node)
end
end
end
private