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

- old
+ new

@@ -23,11 +23,11 @@ @tracer << 'alpha' end #noisy - assert_trace pdef, 'alpha' + assert_trace 'alpha', pdef assert_log_count(1) { |e| e['action'] == 'dispatch' } assert_log_count(1) { |e| e['action'] == 'receive' } end @@ -41,11 +41,11 @@ @tracer << 'alpha' end #noisy - assert_trace pdef, 'alpha' + assert_trace 'alpha', pdef end def test_participant_exp_name pdef = Ruote.process_definition do @@ -56,11 +56,11 @@ @tracer << 'alpha' end #noisy - assert_trace pdef, 'alpha' + assert_trace 'alpha', pdef end def test_participant_exp_name_tree_rewriting pdef = Ruote.process_definition do @@ -91,11 +91,11 @@ end end #noisy - assert_trace pdef, %w[ alpha charly ] + assert_trace %w[ alpha charly ], pdef end def test_participant_and_att_text pdef = Ruote.process_definition do @@ -110,10 +110,10 @@ atts = fe.attributes end #noisy - assert_trace pdef, 'done.' + assert_trace 'done.', pdef assert_equal( { "commander of the left guard"=>nil, "if"=>"true", "ref"=>"notify" }, atts) end