spec/rubocop/rspec/util/one_spec.rb in rubocop-rspec-1.12.0 vs spec/rubocop/rspec/util/one_spec.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -1,5 +1,5 @@
-describe RuboCop::RSpec::Util, '.one' do
+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) }
it 'returns first element' do