Skip to content

Commit

Permalink
Merge pull request #2015 from rubocop/remove-unused
Browse files Browse the repository at this point in the history
Remove unused method matcher for pending steps without reason
  • Loading branch information
pirj authored Dec 25, 2024
2 parents f423768 + 1971c32 commit 5d768fe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/rubocop/cop/rspec/pending_without_reason.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ class PendingWithoutReason < Base
(send #rspec? ${#ExampleGroups.skipped} ...)
PATTERN

# @!method pending_step_without_reason?(node)
def_node_matcher :pending_step_without_reason?, <<~PATTERN
(send nil? {:skip :pending})
PATTERN

def on_send(node)
on_pending_by_metadata(node)
return unless (parent = parent_node(node))
Expand Down

0 comments on commit 5d768fe

Please sign in to comment.