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