# File lib/minitest/spec.rb, line 108
  def self.before(type = :each, &block)
    if type == :all
      warn "change before :all to before :each"
      type = :each
    end
    raise "unsupported before type: #{type}" unless type == :each
    define_inheritable_method :setup, &block
  end