test/functional/eft_5_subprocess.rb in ruote-2.1.7 vs test/functional/eft_5_subprocess.rb in ruote-2.1.8
- old
+ new
@@ -20,11 +20,11 @@
end
end
#noisy
- assert_trace pdef, 'a'
+ assert_trace 'a', pdef
end
def test_subprocess_att_text
pdef = Ruote.process_definition do
@@ -34,11 +34,11 @@
end
end
#noisy
- assert_trace pdef, 'a'
+ assert_trace 'a', pdef
end
def test_subprocess_exp_name
pdef = Ruote.process_definition do
@@ -48,11 +48,11 @@
end
end
#noisy
- assert_trace pdef, 'a'
+ assert_trace 'a', pdef
end
def test_subprocess_if
pdef = Ruote.process_definition do
@@ -66,11 +66,11 @@
end
end
#noisy
- assert_trace pdef, %w[ a a ]
+ assert_trace %w[ a a ], pdef
end
def test_subprocess_atts_to_vars
pdef = Ruote.process_definition do
@@ -80,11 +80,11 @@
end
end
#noisy
- assert_trace pdef, 'A:B'
+ assert_trace 'A:B', pdef
end
def test_subprocess_passing_tree
pdef = Ruote.process_definition do
@@ -102,11 +102,11 @@
tree = fexp.lookup_variable('tree')
end
#noisy
- assert_trace pdef, ''
+ assert_trace '', pdef
assert_equal ["noop", {}, []], tree
end
def test_subprocess_uri
@@ -119,11 +119,11 @@
end
end
#noisy
- assert_trace pdef, %w[ in a b out. ]
+ assert_trace %w[ in a b out. ], pdef
end
def test_missing_uri
pdef = Ruote.process_definition do
@@ -156,9 +156,9 @@
@engine.variables['sub0'] = Ruote.process_definition do
echo 'in sub0'
end
- assert_trace pdef, "in sub0\ndone."
+ assert_trace "in sub0\ndone.", pdef
end
end