method

before

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: Spec
before(type = :each, &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.

Show source
Register or log in to add new notes.