spec/rubocop/cop/rspec/overwriting_setup_spec.rb in rubocop-rspec-1.27.0 vs spec/rubocop/cop/rspec/overwriting_setup_spec.rb in rubocop-rspec-1.28.0
- old
+ new
@@ -84,11 +84,6 @@
let("name") { b }
^^^^^^^^^^^^^^^^^ `name` is already defined.
end
RUBY
end
-
- it 'does not encounter an error when handling an empty describe' do
- expect { inspect_source('RSpec.describe(User) do end', 'a_spec.rb') }
- .not_to raise_error
- end
end