module Kernel
def describe desc, &block # :doc:
def describe desc, &block # :doc: stack = MiniTest::Spec.describe_stack name = [stack.last, desc].compact.join("::") sclas = stack.last || if Class === self && self < MiniTest::Spec then self else MiniTest::Spec.spec_type desc end cls = sclas.create(name, desc) stack.push cls cls.class_eval(&block) stack.pop cls end