lib/rubocop/cop/rspec/pending.rb in rubocop-rspec-1.31.0 vs lib/rubocop/cop/rspec/pending.rb in rubocop-rspec-1.32.0
- old
+ new
@@ -35,11 +35,11 @@
SKIP_SYMBOL = s(:sym, :skip)
PENDING_SYMBOL = s(:sym, :pending)
def_node_matcher :metadata, <<-PATTERN
- {(send nil? #{SKIPPABLE_SELECTORS} ... (hash $...))
- (send nil? #{SKIPPABLE_SELECTORS} $...)}
+ {(send {(const nil? :RSpec) nil?} #{SKIPPABLE_SELECTORS} ... (hash $...))
+ (send {(const nil? :RSpec) nil?} #{SKIPPABLE_SELECTORS} $...)}
PATTERN
def_node_matcher :pending_block?, PENDING_EXAMPLES.send_pattern
def on_send(node)