lib/rubocop/cop/rspec/multiple_describes.rb in rubocop-rspec-2.0.0 vs lib/rubocop/cop/rspec/multiple_describes.rb in rubocop-rspec-2.0.1
- old
+ new
@@ -23,11 +23,10 @@
# end
# end
class MultipleDescribes < Base
include TopLevelGroup
- MSG = 'Do not use multiple top-level example groups - '\
- 'try to nest them.'
+ MSG = 'Do not use multiple top-level example groups - try to nest them.'
def on_top_level_group(node)
top_level_example_groups =
top_level_groups.select(&method(:example_group?))