test/functional/eft_11_wait.rb in ruote-2.1.7 vs test/functional/eft_11_wait.rb in ruote-2.1.8
- old
+ new
@@ -25,11 +25,11 @@
#noisy
ts = []
@engine.register_participant(:alpha) { ts << Time.now }
- assert_trace pdef, 'done.'
+ assert_trace 'done.', pdef
#p [ ts[1].sec, ts[0].sec ]
assert [ 2, 3 ].include?((ts[1].sec - ts[0].sec) % 60)
end
@@ -71,11 +71,11 @@
#noisy
ts = []
@engine.register_participant(:alpha) { ts << Time.now }
- assert_trace pdef, 'done.'
+ assert_trace 'done.', pdef
#p ts
assert ts[1] - ts[0] > 1.0, "#{ts[1] - ts[0]} should be > 1.0"
end
@@ -89,9 +89,9 @@
end
end
#noisy
- assert_trace pdef, %w[ a b ]
+ assert_trace %w[ a b ], pdef
end
end