module Minitest::Spec::DSL

def before type = nil, &block

def before type = nil, &block
  define_method :setup do
    super()
    self.instance_eval(&block)
  end
end