lib/rubocop/cop/rspec/nested_groups.rb in rubocop-rspec-1.33.0 vs lib/rubocop/cop/rspec/nested_groups.rb in rubocop-rspec-1.34.0
- old
+ new
@@ -102,10 +102,9 @@
def on_top_level_describe(node, _args)
find_nested_contexts(node.parent) do |context, nesting|
self.max = nesting
add_offense(
context.send_node,
- location: :expression,
message: message(nesting)
)
end
end