method
before
v2_1_10 -
Show latest stable
- Class:
MiniTest::Spec::DSL
before(type = nil, &block)public
Define a ‘before’ action. Inherits the way normal methods should.
NOTE: type is ignored and is only there to make porting easier.
Equivalent to MiniTest::Unit::TestCase#setup.