Sha256: 49f9cc1ac6e5aae8231e33a12fef38b1f88ab98f69c90c6b5219bd219eeb8d72
Contents?: true
Size: 687 Bytes
Versions: 4
Compression:
Stored size: 687 Bytes
Contents
# # testing ruote # # Mon Jun 15 21:18:06 JST 2009 # require File.expand_path('../base', __FILE__) class EftCancelProcessTest < Test::Unit::TestCase include FunctionalBase def test_cancel_process pdef = Ruote.process_definition do sequence do echo 'a' cancel_process echo 'b' end end #noisy assert_trace('a', pdef) #assert_equal 3, logger.log.select { |e| e[1] == :entered_tag }.size end def test_unless pdef = Ruote.process_definition do sequence do echo 'a' terminate :unless => 'true == true' echo 'b' end end #noisy assert_trace("a\nb", pdef) end end
Version data entries
4 entries across 4 versions & 1 rubygems