This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
after(type = :each, &block)
public
Define an ‘after’ action. Inherits the way normal methods should.
NOTE: type is ignored and is only there to make porting easier.
Equivalent to MiniTest::Unit::TestCase#teardown.
# File lib/minitest/spec.rb, line 183
def self.after type = :each, &block
raise "unsupported after type: #{type}" unless type == :each
add_teardown_hook {|tc| tc.instance_eval(&block) }
end