Sha256: 782887d5213534a4022b8038d35b3a779073b4cbeca7a7e1c77f92871dc77ddc

Contents?: true

Size: 615 Bytes

Versions: 4

Compression:

Stored size: 615 Bytes

Contents

#
# testing ruote
#
# Wed Jul 14 09:43:58 JST 2010
#

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

require 'ruote/participant'


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

  def test_var_participant

    pdef = Ruote.process_definition do
      sequence do
        set 'v:alpha' => [ 'Ruote::StorageParticipant', {} ]
        alpha
      end
    end

    #noisy

    wfid = @dashboard.launch(pdef)

    @dashboard.wait_for(:alpha)

    assert_equal 1, @dashboard.storage_participant.size
    assert_equal 'alpha', @dashboard.storage_participant.first.participant_name
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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