Skip to content

Commit

Permalink
Remove unused method matcher for pending steps without reason
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Dec 24, 2024
1 parent 22ed9c2 commit 1971c32
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 1971c32

Please sign in to comment.