lib/rubocop/cop/rspec/overwriting_setup.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/overwriting_setup.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -31,10 +31,9 @@
return unless example_group_with_body?(node)
find_duplicates(node.body) do |duplicate, name|
add_offense(
duplicate,
- location: :expression,
message: format(MSG, name: name)
)
end
end