spec/rubocop/cop/rspec/scattered_setup_spec.rb in rubocop-rspec-1.12.0 vs spec/rubocop/cop/rspec/scattered_setup_spec.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -1,5 +1,5 @@
-describe RuboCop::Cop::RSpec::ScatteredSetup do
+RSpec.describe RuboCop::Cop::RSpec::ScatteredSetup do
subject(:cop) { described_class.new }
it 'flags multiple hooks in the same example group' do
expect_violation(<<-RUBY)
describe Foo do