Sha256: 03677457177da13da7c969a993b5263238ed3962481390a3af669294c2950722
Contents?: true
Size: 696 Bytes
Versions: 4
Compression:
Stored size: 696 Bytes
Contents
# # testing ruote # # Mon Jun 15 21:18:06 JST 2009 # require File.join(File.dirname(__FILE__), 'base') 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(pdef, 'a') #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' cancel_process :unless => 'true == true' echo 'b' end end #noisy assert_trace(pdef, "a\nb") end end
Version data entries
4 entries across 4 versions & 1 rubygems