lib/rubocop/cop/rspec/multiple_describes.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/multiple_describes.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -24,10 +24,10 @@
# end
class MultipleDescribes < Cop
include RuboCop::RSpec::TopLevelDescribe
MSG = 'Do not use multiple top level describes - '\
- 'try to nest them.'.freeze
+ 'try to nest them.'
def on_top_level_describe(node, _args)
return if single_top_level_describe?
return unless top_level_nodes.first.equal?(node)