Skip to content

Commit 5d768fe

Browse files
authored
Merge pull request #2015 from rubocop/remove-unused
Remove unused method matcher for pending steps without reason
2 parents f423768 + 1971c32 commit 5d768fe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/rubocop/cop/rspec/pending_without_reason.rb

-5
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ class PendingWithoutReason < Base
9494
(send #rspec? ${#ExampleGroups.skipped} ...)
9595
PATTERN
9696

97-
# @!method pending_step_without_reason?(node)
98-
def_node_matcher :pending_step_without_reason?, <<~PATTERN
99-
(send nil? {:skip :pending})
100-
PATTERN
101-
10297
def on_send(node)
10398
on_pending_by_metadata(node)
10499
return unless (parent = parent_node(node))

0 commit comments

Comments
 (0)