test/functional/eft_6_concurrence.rb in ruote-2.1.6 vs test/functional/eft_6_concurrence.rb in ruote-2.1.7

- old
+ new

@@ -61,13 +61,18 @@ #noisy assert_trace(pdef, %w[ alpha ] * 3) - assert_equal( - {'1'=>{"seen"=>"indeed"}, '0'=>{}, "params"=>{"ref"=>"bravo"}}, - fields) + #assert_equal( + # {'1'=>{"seen"=>"indeed"}, '0'=>{}, "params"=>{"ref"=>"bravo"}}, + # fields) + + params = fields.delete('params') + + assert_equal({ 'ref' => 'bravo' }, params) + assert_match /seen/, fields.inspect end def test_over_unless pdef = Ruote.process_definition do @@ -113,10 +118,10 @@ echo 'done.' end #noisy - assert_trace pdef, %w[ a b done.] + assert_trace pdef, %w[ a b done. ], %w[ b a done. ] end # helper # def run_concurrence (concurrence_attributes, noise)