lib/rubocop/cop/rspec/describe_symbol.rb in rubocop-rspec-2.2.0 vs lib/rubocop/cop/rspec/describe_symbol.rb in rubocop-rspec-2.3.0

- old
+ new

@@ -19,9 +19,10 @@ # @see https://github.com/rspec/rspec-core/issues/1610 class DescribeSymbol < Base MSG = 'Avoid describing symbols.' RESTRICT_ON_SEND = %i[describe].freeze + # @!method describe_symbol?(node) def_node_matcher :describe_symbol?, <<-PATTERN (send #rspec? :describe $sym ...) PATTERN def on_send(node)