spec/rubocop/cop/rspec/instance_variable_spec.rb in rubocop-rspec-1.32.0 vs spec/rubocop/cop/rspec/instance_variable_spec.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
RSpec.describe RuboCop::Cop::RSpec::InstanceVariable do
subject(:cop) { described_class.new }
it 'finds an instance variable inside a describe' do
expect_offense(<<-RUBY)