lib/rubocop/cop/rspec/context_wording.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/context_wording.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -59,10 +59,10 @@
include AllowedPattern
MSG = 'Context description should match %<patterns>s.'
# @!method context_wording(node)
- def_node_matcher :context_wording, <<-PATTERN
+ def_node_matcher :context_wording, <<~PATTERN
(block (send #rspec? { :context :shared_context } $({str dstr xstr} ...) ...) ...)
PATTERN
def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler
context_wording(node) do |context|