lib/rubocop/cop/rspec/void_expect.rb in rubocop-rspec-2.24.1 vs lib/rubocop/cop/rspec/void_expect.rb in rubocop-rspec-2.25.0

- old
+ new

@@ -50,10 +50,10 @@ def void?(expect) parent = expect.parent return true unless parent return true if parent.begin_type? - true if parent.block_type? && parent.body == expect + parent.block_type? && parent.body == expect end end end end end