spec/project/project_requires_spec.rb in rubocop-rspec-1.12.0 vs spec/project/project_requires_spec.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -1,5 +1,5 @@
-describe 'Project requires' do
+RSpec.describe 'Project requires' do
it 'alphabetizes cop requires' do
source = SpecHelper::ROOT.join('lib', 'rubocop-rspec.rb').read
requires = source.split("\n").grep(%r{rubocop/cop/rspec/[^(?:cop)]})
expect(requires.join("\n")).to eql(requires.sort.join("\n"))