spec/rubocop/cop/rspec/multiple_describes_spec.rb in rubocop-rspec-1.12.0 vs spec/rubocop/cop/rspec/multiple_describes_spec.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -1,5 +1,5 @@
-describe RuboCop::Cop::RSpec::MultipleDescribes do
+RSpec.describe RuboCop::Cop::RSpec::MultipleDescribes do
subject(:cop) { described_class.new }
it 'finds multiple top level describes with class and method' do
expect_violation(<<-RUBY)
describe MyClass, '.do_something' do; end