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