Class: Test::Unit::TestCase
- Defined in:
- lib/doh/test/setup_once.rb,
lib/doh/test/clear_on_teardown.rb
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
4 5 6 7 8 9 |
# File 'lib/doh/test/setup_once.rb', line 4 def setup unless @setup_once @setup_once = true setup_once end end |
#setup_once ⇒ Object
11 12 |
# File 'lib/doh/test/setup_once.rb', line 11 def setup_once end |
#teardown ⇒ Object
6 7 8 |
# File 'lib/doh/test/clear_on_teardown.rb', line 6 def teardown Doh::clear_current_date end |