class RuboCop::Cop::RSpec::EmptyExampleGroup
def offensive?(body)
def offensive?(body) return true unless body return false if conditionals_with_examples?(body) if body.type?(:if, :case) !examples_in_branches?(body) else !examples?(body) end end
def offensive?(body) return true unless body return false if conditionals_with_examples?(body) if body.type?(:if, :case) !examples_in_branches?(body) else !examples?(body) end end