spec/rubocop/cop/rspec/scattered_let_spec.rb in rubocop-rspec-1.16.0 vs spec/rubocop/cop/rspec/scattered_let_spec.rb in rubocop-rspec-1.17.0
- old
+ new
@@ -23,9 +23,9 @@
end
RUBY
end
it 'does not encounter an error when handling an empty describe' do
- expect { inspect_source(cop, 'RSpec.describe(User) do end', 'a_spec.rb') }
+ expect { inspect_source('RSpec.describe(User) do end', 'a_spec.rb') }
.not_to raise_error
end
end