Sha256: ec6d249229168aa90c82af3881600b91df284d259cde48717311aa683cd69af8

Contents?: true

Size: 548 Bytes

Versions: 4

Compression:

Stored size: 548 Bytes

Contents

#
# testing ruote
#
# Sat Jun 25 21:00:57 JST 2011
#

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


class FtExpNameAndDollarSubstitution < Test::Unit::TestCase
  include FunctionalBase

  def test_t_fields

    pdef = <<-EOS
define
  set 'v:x': alpha
  user_${v:x}
  user_${v:nada}
    EOS

    @dashboard.register /^user_/ do |wi|
      tracer << wi.participant_name + "\n"
    end

    #@dashboard.noisy = true

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

    assert_equal %w[ user_alpha user_ ], @tracer.to_a
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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