spec/project/project_requires_spec.rb in rubocop-rspec-1.32.0 vs spec/project/project_requires_spec.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
RSpec.describe 'Project requires' do
it 'alphabetizes cop requires' do
source = SpecHelper::ROOT.join('lib', 'rubocop', 'cop', 'rspec_cops.rb')
captures = source.read.scan(%r{^(require_relative 'rspec/(.*?/)?(.*?)')$})