lib/rubocop/cop/rspec/nested_groups.rb in rubocop-rspec-1.23.0 vs lib/rubocop/cop/rspec/nested_groups.rb in rubocop-rspec-1.24.0

- old
+ new

@@ -96,10 +96,10 @@ "Configuration key `#{DEPRECATED_MAX_KEY}` for #{cop_name} is " \ 'deprecated in favor of `Max`. Please use that instead.'.freeze def_node_search :find_contexts, ExampleGroups::ALL.block_pattern - def on_top_level_describe(node, _) + def on_top_level_describe(node, _args) find_nested_contexts(node.parent) do |context, nesting| add_offense( context.children.first, location: :expression, message: message(nesting)