lib/rubocop/cop/rspec/pending.rb in rubocop-rspec-1.36.0 vs lib/rubocop/cop/rspec/pending.rb in rubocop-rspec-1.37.0
- old
+ new
@@ -40,10 +40,10 @@
def_node_matcher :skippable?, SKIPPABLE.send_pattern
def_node_matcher :skipped_in_metadata?, <<-PATTERN
{
(send _ _ <#skip_or_pending? ...>)
- (send _ _ ... (hash <(pair #skip_or_pending? true) ...>))
+ (send _ _ ... (hash <(pair #skip_or_pending? { true str }) ...>))
}
PATTERN
def_node_matcher :skip_or_pending?, '{(sym :skip) (sym :pending)}'
def_node_matcher :pending_block?, PENDING.send_pattern