Class: Furnish::RunningSchedulerTest
- Inherits:
-
SchedulerTest
- Object
- Minitest::Test
- Test
- SchedulerTest
- Furnish::RunningSchedulerTest
- 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 SchedulerTest
Instance Method Summary collapse
-
#setup ⇒ Object
:nodoc:.
-
#teardown ⇒ Object
:nodoc:.
Methods inherited from SchedulerTest
#assert_solved, #refute_solved
Instance Method Details
#setup ⇒ Object
:nodoc:
107 108 109 110 |
# File 'lib/furnish/test.rb', line 107 def setup # :nodoc: super @sched.run end |
#teardown ⇒ Object
:nodoc:
112 113 114 115 116 |
# File 'lib/furnish/test.rb', line 112 def teardown # :nodoc: @sched.stop sleep 0.3 while @sched.running? super end |