lib/rubocop/cop/rspec/describe_symbol.rb in rubocop-rspec-2.25.0 vs lib/rubocop/cop/rspec/describe_symbol.rb in rubocop-rspec-2.26.0
- old
+ new
@@ -20,10 +20,10 @@
class DescribeSymbol < Base
MSG = 'Avoid describing symbols.'
RESTRICT_ON_SEND = %i[describe].freeze
# @!method describe_symbol?(node)
- def_node_matcher :describe_symbol?, <<-PATTERN
+ def_node_matcher :describe_symbol?, <<~PATTERN
(send #rspec? :describe $sym ...)
PATTERN
def on_send(node)
describe_symbol?(node) do |match|