Sha256: 51a8925a5e4ba96985cbda6882c3ccd822cae121fcf7050d150beeed82987b72

Contents?: true

Size: 595 Bytes

Versions: 4

Compression:

Stored size: 595 Bytes

Contents

#
# testing ruote
#
# Thu Jun  9 11:37:56 JST 2011
#

require File.expand_path('../base', __FILE__)


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

    @dashboard.register(:alpha) { |wi| wi.t['verbose'] = true }
    @dashboard.register(:bravo, Ruote::NoOpParticipant)

    #@dashboard.noisy = true

    wfid = @dashboard.launch(pdef)
    @dashboard.wait_for(wfid)

    assert_equal 'a', @tracer.to_s
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruote-2.3.0.3 test/functional/ft_61_trailing_fields.rb
ruote-2.3.0.2 test/functional/ft_61_trailing_fields.rb
ruote-2.3.0.1 test/functional/ft_61_trailing_fields.rb
ruote-2.3.0 test/functional/ft_61_trailing_fields.rb