lib/rubocop/cop/rspec/pending.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/pending.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -65,10 +65,10 @@
end
private
def skipped?(node)
- skippable?(node) && skipped_in_metadata?(node) ||
+ (skippable?(node) && skipped_in_metadata?(node)) ||
skipped_regular_example_without_body?(node)
end
def skipped_regular_example_without_body?(node)
skippable_example?(node) && !node.block_node