lib/rubocop/cop/rspec/void_expect.rb in rubocop-rspec-2.23.1 vs lib/rubocop/cop/rspec/void_expect.rb in rubocop-rspec-2.23.2

- old
+ new

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