test/functional/ft_10_dollar.rb in ruote-2.1.7 vs test/functional/ft_10_dollar.rb in ruote-2.1.8
- old
+ new
@@ -21,11 +21,11 @@
end
end
#noisy
- assert_trace pdef, 'field'
+ assert_trace 'field', pdef
end
def test_v
pdef = Ruote.process_definition do
@@ -38,11 +38,11 @@
end
end
#noisy
- assert_trace(pdef, %w[ a b0 c0 d0 ])
+ assert_trace(%w[ a b0 c0 d0 ], pdef)
end
def test_nested_v
pdef = Ruote.process_definition do
@@ -57,11 +57,11 @@
end
end
#noisy
- assert_trace(pdef, %w[ a:toto b:atlantic_city ])
+ assert_trace(%w[ a:toto b:atlantic_city ], pdef)
end
def test_f
pdef = Ruote.process_definition do
@@ -73,11 +73,11 @@
end
end
#noisy
- assert_trace(pdef, %w[ a btoto cAsia ])
+ assert_trace(%w[ a btoto cAsia ], pdef)
end
def test_no_r
pdef = Ruote.process_definition do
@@ -86,11 +86,11 @@
end
end
#noisy
- assert_trace(pdef, '><')
+ assert_trace('><', pdef)
end
def test_r
pdef = Ruote.process_definition do
@@ -101,11 +101,11 @@
#noisy
@engine.context['ruby_eval_allowed'] = true
- assert_trace(pdef, '>3<')
+ assert_trace('>3<', pdef)
end
def test_r_and_wi
pdef = Ruote.process_definition do
@@ -118,11 +118,11 @@
#noisy
@engine.context['ruby_eval_allowed'] = true
- assert_trace pdef, "person\nperson"
+ assert_trace "person\nperson", pdef
end
def test_r_and_d
pdef = Ruote.process_definition do
@@ -134,11 +134,11 @@
#noisy
@engine.context['ruby_eval_allowed'] = true
- assert_trace pdef, 'person'
+ assert_trace 'person', pdef
end
def test_nested
pdef = Ruote.process_definition do
@@ -149,10 +149,10 @@
end
end
#noisy
- assert_trace pdef, 'AA'
+ assert_trace 'AA', pdef
end
def test_wfid
pdef = Ruote.process_definition do