class RuboCop::Cop::RSpec::MultipleExpectations

def example_with_aggregate_failures?(example_node)

def example_with_aggregate_failures?(example_node)
  node_with_aggregate_failures = find_aggregate_failures(example_node)
  return false unless node_with_aggregate_failures
  aggregate_failures?(node_with_aggregate_failures, TRUE_NODE)
end