class RuboCop::Cop::RSpec::EmptyExampleGroup

def conditionals_with_examples?(body)

def conditionals_with_examples?(body)
  return unless body.begin_type? || body.case_type?
  body.each_descendant(:if, :case).any? do |condition_node|
    examples_in_branches?(condition_node)
  end
end