spec/rubocop/cop/rspec/any_instance_spec.rb in rubocop-rspec-1.32.0 vs spec/rubocop/cop/rspec/any_instance_spec.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
RSpec.describe RuboCop::Cop::RSpec::AnyInstance do
subject(:cop) { described_class.new }
it 'finds `allow_any_instance_of` instead of an instance double' do
expect_offense(<<-RUBY)