module MiniTestSpecRails::DSL::ClassMethods
def after(_type = nil, &block)
def after(_type = nil, &block) teardown { instance_eval(&block) } end
def before(_type = nil, &block)
def before(_type = nil, &block) setup { instance_eval(&block) } end
def describe(*args, &block)
def describe(*args, &block) stack = Minitest::Spec.describe_stack stack.push self if stack.empty? super(*args) { class_eval(&block) } stack.pop if stack.length == 1 end
def described_class
def described_class nil end
def test(name, &block)
def test(name, &block) instance_eval { it(name, &block) } end