lib/rubocop/rspec/example.rb in rubocop-rspec-1.24.0 vs lib/rubocop/rspec/example.rb in rubocop-rspec-1.25.0
- old
+ new
@@ -22,10 +22,10 @@
def definition
if node.send_type?
node
else
- node.children.first
+ node.send_node
end
end
end
end
end