test/ft_3_equals.rb in openwferu-0.9.4 vs test/ft_3_equals.rb in openwferu-0.9.5

- old
+ new

@@ -8,11 +8,12 @@ # require 'flowtestbase' -class FlowTest3 < FlowTestBase +class FlowTest3 < Test::Unit::TestCase + include FlowTestBase #def setup #end #def teardown @@ -80,11 +81,11 @@ </process-definition>''', "ok") end def test_equals_0 dotest(\ -'<process-definition name="'+test_name+'''" revision="0"> +'<process-definition name="'+name_of_test+'''" revision="0"> <sequence> <set field="a" value="true" /> <print>${f:a}</print> <if> <equals field-value="a" other-value="true" /> @@ -97,10 +98,10 @@ true""") end def test_equals_1 dotest(\ -'<process-definition name="'+test_name+'''" revision="0"> +'<process-definition name="'+name_of_test+'''" revision="0"> <sequence> <set variable="a" value="true" /> <print>${a}</print> <if> <equals variable-value="a" other-value="true" />