lib/rubocop/cop/rspec/file_path.rb in rubocop-rspec-1.43.1 vs lib/rubocop/cop/rspec/file_path.rb in rubocop-rspec-1.43.2
- old
+ new
@@ -67,10 +67,10 @@
)
PATTERN
def_node_search :routing_metadata?, '(pair (sym :type) (sym :routing))'
- def on_top_level_group(node)
+ def on_top_level_example_group(node)
return unless top_level_groups.one?
const_described(node) do |send_node, described_class, arguments|
next if routing_spec?(arguments)