test/ft_4_misc.rb in openwferu-0.9.1 vs test/ft_4_misc.rb in openwferu-0.9.2
- old
+ new
@@ -1,8 +1,8 @@
#
-# Testing OpenWFEru
+# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Mon Oct 9 22:19:44 JST 2006
#
@@ -120,9 +120,24 @@
<reval>lookup_variable("w") * 3</reval>
</set>
<print>${v}</print>
</sequence>
</process-definition>''', "WWW")
+ end
+
+ def test_dru_4
+ dotest(\
+'''<process-definition name="dru_4" revision="0">
+ <sequence>
+ <set variable="v">
+ <reval>@fei.workflow_definition_name</reval>
+ </set>
+ <print>${v}</print>
+
+ <print>${r:@fei.workflow_definition_name}</print>
+ </sequence>
+</process-definition>''', """dru_4
+dru_4""")
end
end