spec/rubocop/rspec/util/one_spec.rb in rubocop-rspec-1.32.0 vs spec/rubocop/rspec/util/one_spec.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
RSpec.describe RuboCop::RSpec::Util, '.one' do
let(:first) { instance_double(Object) }
let(:array) { instance_double(Array, one?: true, first: first) }
let(:client) { Class.new.extend(described_class) }