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

- old
+ new

@@ -21,22 +21,22 @@ end end #noisy - assert_trace(pdef, %w[ in out. ]) + assert_trace(%w[ in out. ], pdef) end def test_apply_tree pdef = Ruote.process_definition :name => 'test' do apply :tree => [ 'echo', { 'nada' => nil }, [] ] end #noisy - assert_trace(pdef, 'nada') + assert_trace('nada', pdef) end def test_apply_default_tree_variable pdef = Ruote.process_definition :name => 'test' do @@ -46,11 +46,11 @@ end end #noisy - assert_trace(pdef, 'nada') + assert_trace('nada', pdef) end def test_apply_tree_variable pdef = Ruote.process_definition :name => 'test' do @@ -60,11 +60,11 @@ end end #noisy - assert_trace(pdef, 'nada') + assert_trace('nada', pdef) end def test_apply_tree_field pdef = Ruote.process_definition :name => 'test' do @@ -75,22 +75,22 @@ end end #noisy - assert_trace(pdef, 'nada') + assert_trace('nada', pdef) end def test_apply_attributes_as_variables pdef = Ruote.process_definition :name => 'test' do apply :tree => [ 'echo', { 'a:${v:a}' => nil }, [] ], :a => 'surf' end #noisy - assert_trace(pdef, 'a:surf') + assert_trace('a:surf', pdef) end def test_apply_default_with_attributes_as_variables pdef = Ruote.process_definition :name => 'test' do @@ -101,11 +101,11 @@ end end #noisy - assert_trace(pdef, %w[ a: a:surf ]) + assert_trace(%w[ a: a:surf ], pdef) end def test_apply_within_subprocess pdef = Ruote.process_definition 'test' do @@ -121,11 +121,11 @@ end end #noisy - assert_trace(pdef, %w[ nada ] * 3) + assert_trace(%w[ nada ] * 3, pdef) end def test_apply_within_subprocess_2 pdef = Ruote.process_definition 'test' do @@ -137,9 +137,9 @@ end end #noisy - assert_trace(pdef, 'nada') + assert_trace('nada', pdef) end end