lib/rubocop/cop/rspec/multiple_describes.rb in rubocop-rspec-1.8.0 vs lib/rubocop/cop/rspec/multiple_describes.rb in rubocop-rspec-1.9.0
- old
+ new
@@ -21,11 +21,10 @@
# end
# describe '.do_something_else' do
# end
# end
class MultipleDescribes < Cop
- include RuboCop::RSpec::SpecOnly,
- RuboCop::RSpec::TopLevelDescribe
+ include RuboCop::RSpec::TopLevelDescribe
MSG = 'Do not use multiple top level describes - ' \
'try to nest them.'.freeze
def on_top_level_describe(node, _args)