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

- old
+ new

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