module TestBelt::Callbacks::Case
Public Class Methods
included(receiver)
click to toggle source
Usage:
class SomeTest < Test::Unit::TestCase include TestBelt::Callbacks::Case before_once { # anything here runs before the first test for this class } after_once { # anything here runs after the last test for this class } should 'do stuff' do assert true end end
# File lib/test_belt/callbacks/case.rb, line 27 def self.included(receiver) receiver.send(:extend, ClassMethods) end