Flowdock
method

before

Importance_1
Ruby latest stable (v1_9_3_392) - 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.