Class: Furnish::RunningSchedulerTestCase
- Inherits:
-
SchedulerTestCase
- Object
- MiniTest::Unit::TestCase
- TestCase
- SchedulerTestCase
- Furnish::RunningSchedulerTestCase
- Defined in:
- lib/furnish/test.rb
Overview
Inherits from SchedulerTestCase and manages a running scheduler in conjunction with all the other features.
Instance Attribute Summary
Attributes inherited from SchedulerTestCase
Instance Method Summary collapse
-
#setup ⇒ Object
:nodoc:.
-
#teardown ⇒ Object
:nodoc:.
Methods inherited from SchedulerTestCase
#assert_solved, #refute_solved
Instance Method Details
#setup ⇒ Object
:nodoc:
99 100 101 102 |
# File 'lib/furnish/test.rb', line 99 def setup # :nodoc: super @sched.run end |
#teardown ⇒ Object
:nodoc:
104 105 106 107 108 |
# File 'lib/furnish/test.rb', line 104 def teardown # :nodoc: @sched.stop sleep 0.3 while @sched.running? super end |