test/functional/eft_16_if.rb in ruote-2.1.11 vs test/functional/eft_16_if.rb in ruote-2.2.0

- old
+ new

@@ -165,7 +165,19 @@ @tracer.clear assert_trace('alpha', { :state => 'A' }, pdef) end + + def test_t + + pdef = Ruote.define do + _if :t => 'true' do + echo 'then' + end + echo 'done.' + end + + assert_trace("then\ndone.", pdef) + end end