test/ft_33_description.rb in openwferu-0.9.15 vs test/ft_33_description.rb in openwferu-0.9.16
- old
+ new
@@ -79,22 +79,27 @@
#
# TEST 4
def test_4
+
+ @engine.register_participant :check do |fexp, wi|
+ @tracer << fexp.lookup_variable('description').class.name
+ @tracer << "\n"
+ end
+
dotest(
"""<process-definition name='test_1' revision='x'>
<description language='en'>nothing</description>
<description language='es'>nada</description>
<sequence>
+ <participant ref='check' />
<print>${description}</print>
<print>${description__en}</print>
<print>${description__es}</print>
</sequence>
</process-definition>""",
- """nothing
-nothing
-nada""")
+ "String\nnothing\nnothing\nnada")
end
end