test/functional/eft_5_subprocess.rb in ruote-2.1.11 vs test/functional/eft_5_subprocess.rb in ruote-2.2.0
- old
+ new
@@ -94,20 +94,18 @@
define :sub0 do
alpha
end
end
- tree = nil
-
@engine.register_participant :alpha do |workitem, fexp|
- tree = fexp.lookup_variable('tree')
+ stash[:tree] = fexp.lookup_variable('tree')
end
#noisy
assert_trace '', pdef
- assert_equal ["noop", {}, []], tree
+ assert_equal ["noop", {}, []], stash[:tree]
end
def test_subprocess_uri
pdef = Ruote.process_definition do