lib/rubocop/rspec/example.rb in rubocop-rspec-1.38.0 vs lib/rubocop/rspec/example.rb in rubocop-rspec-1.38.1
- old
+ new
@@ -2,10 +2,10 @@
module RuboCop
module RSpec
# Wrapper for RSpec examples
class Example < Concept
- def_node_matcher :extract_doc_string, '(send _ _ $str ...)'
+ def_node_matcher :extract_doc_string, '(send _ _ $_ ...)'
def_node_matcher :extract_metadata, '(send _ _ _ $...)'
def_node_matcher :extract_implementation, '(block send args $_)'
def doc_string
extract_doc_string(definition)