test/ft_14b_subprocess.rb in openwferu-0.9.7 vs test/ft_14b_subprocess.rb in openwferu-0.9.8
- old
+ new
@@ -109,7 +109,25 @@
def test_sub_2
dotest(SubTest2, """a
c d""")
end
+
+ #
+ # TEST 3
+
+ class SubTest3 < OpenWFE::ProcessDefinition
+
+ subprocess "c", "d", :ref => :sub1
+
+ process_definition :name => :sub1 do
+ _print "${0} ${1}"
+ end
+ end
+
+ #def xxxx_sub_3
+ def test_sub_3
+ dotest(SubTest3, "c d")
+ end
+
end