Module: RunningMan::ActiveRecordBlock::TestClassMethods
- Defined in:
- lib/running_man/active_record_block.rb
Instance Method Summary collapse
-
#fixtures(&block) ⇒ Object
Runs this block once, which should insert records through ActiveRecord.
Instance Method Details
#fixtures(&block) ⇒ Object
Runs this block once, which should insert records through ActiveRecord. Test Cases should only have one #fixtures call, and it should be at the first run callback.
39 40 41 |
# File 'lib/running_man/active_record_block.rb', line 39 def fixtures(&block) RunningMan::ActiveRecordBlock.new(block).setup(self) end |