class RuboCop::Cop::RSpec::EmptyExampleGroup

def conditionals_with_examples?(body)

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