lib/rubocop/cop/rspec/multiple_describes.rb in rubocop-rspec-2.0.0.pre vs lib/rubocop/cop/rspec/multiple_describes.rb in rubocop-rspec-2.0.0
- old
+ new
@@ -21,10 +21,10 @@
# end
# describe '.do_something_else' do
# end
# end
class MultipleDescribes < Base
- include RuboCop::RSpec::TopLevelGroup
+ include TopLevelGroup
MSG = 'Do not use multiple top-level example groups - '\
'try to nest them.'
def on_top_level_group(node)