spec/rubocop/cop/rspec/file_path_spec.rb in rubocop-rspec-1.32.0 vs spec/rubocop/cop/rspec/file_path_spec.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
RSpec.describe RuboCop::Cop::RSpec::FilePath, :config do
subject(:cop) { described_class.new(config) }
it 'registers an offense for a bad path' do
expect_offense(<<-RUBY, 'wrong_path_foo_spec.rb')