Sha256: 8a8cf68b4469320b5ae96067b2989b7ee3eaa7ef93182bf8eaf6c3e3fdec6f20
Contents?: true
Size: 584 Bytes
Versions: 1
Compression:
Stored size: 584 Bytes
Contents
# # testing ruote # # Thu Jun 9 11:37:56 JST 2011 # require File.join(File.dirname(__FILE__), 'base') class FtTrailingFields < Test::Unit::TestCase include FunctionalBase def test_t_fields pdef = Ruote.define do alpha echo 'a', :if => '${t.verbose}' bravo echo 'b', :if => '${t.verbose}' end @engine.register(:alpha) { |wi| wi.t['verbose'] = true } @engine.register(:bravo, Ruote::NoOpParticipant) #@engine.noisy = true wfid = @engine.launch(pdef) @engine.wait_for(wfid) assert_equal 'a', @tracer.to_s end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruote-maestrodev-2.2.1 | test/functional/ft_61_trailing_fields.rb |