lib/rubocop/cop/rspec/describe_symbol.rb in rubocop-rspec-1.21.0 vs lib/rubocop/cop/rspec/describe_symbol.rb in rubocop-rspec-1.22.0
- old
+ new
@@ -14,10 +14,10 @@
# # good
# describe '#my_method' do
# ...
# end
#
- # See https://github.com/rspec/rspec-core/issues/1610
+ # @see https://github.com/rspec/rspec-core/issues/1610
class DescribeSymbol < Cop
MSG = 'Avoid describing symbols.'.freeze
def_node_matcher :describe_symbol?, <<-PATTERN
(send {(const nil? :RSpec) nil?} :describe $sym ...)