test/functional/eft_28_when.rb in ruote-2.1.7 vs test/functional/eft_28_when.rb in ruote-2.1.8

- old
+ new

@@ -29,22 +29,22 @@ end end #noisy - assert_trace pdef, %w[ in over done. ] + assert_trace %w[ in over done. ], pdef assert_equal 0, @engine.storage.get_many('schedules').size end def test_when_blocking pdef = Ruote.process_definition do echo 'in' concurrence do sequence do - _when '${v:ok}', :freq => '1' + _when '${v:ok}', :freq => '1s' echo 'done.' end sequence do wait '1s' echo 'over' @@ -53,11 +53,11 @@ end end #noisy - assert_trace pdef, %w[ in over done. ] + assert_trace %w[ in over done. ], pdef assert_equal 0, @engine.storage.get_many('schedules').size end def test_cancel @@ -99,10 +99,10 @@ end end #noisy - assert_trace pdef, %w[ in over done. ] + assert_trace %w[ in over done. ], pdef assert_equal 0, @engine.storage.get_many('schedules').size end end