Module: Utilrb::SelfTest

Included in:
Minitest::Test
Defined in:
lib/utilrb/test.rb

Overview

This module is the common setup for all tests

It should be included in the toplevel describe blocks

Examples:

require 'dummyproject/test'
describe Utilrb do
  include Utilrb::SelfTest
end

Instance Method Summary collapse

Instance Method Details

#setupObject


49
50
51
# File 'lib/utilrb/test.rb', line 49

def setup
    # Setup code for all the tests
end

#teardownObject


53
54
55
56
# File 'lib/utilrb/test.rb', line 53

def teardown
    super
    # Teardown code for all the tests
end