spec/rubocop/cop/rspec/described_class_spec.rb in rubocop-rspec-1.22.1 vs spec/rubocop/cop/rspec/described_class_spec.rb in rubocop-rspec-1.22.2

- old
+ new

@@ -200,9 +200,16 @@ end end RUBY end + it 'accepts an empty block' do + expect_no_offenses(<<-RUBY) + describe MyClass do + end + RUBY + end + include_examples 'autocorrect', 'describe(Foo) { include Foo }', 'describe(Foo) { include described_class }' include_examples 'autocorrect',