Skip to content

Commit

Permalink
Update lib/rubocop/cop/rspec/shared_examples.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Quorning <22333+bquorning@users.noreply.github.com>
  • Loading branch information
ydah and bquorning authored Jan 5, 2024
1 parent 89a32f7 commit 4df40a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rubocop/cop/rspec/shared_examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class SharedExamples < Base
# @!method shared_examples(node)
def_node_matcher :shared_examples, <<~PATTERN
{
(send #rspec? #SharedGroups.all _+)
(send nil? #Includes.all _+)
(send #rspec? #SharedGroups.all $_ ...)
(send nil? #Includes.all $_ ...)
}
PATTERN

Expand Down

0 comments on commit 4df40a4

Please sign in to comment.