Sha256: c436ccae280d0f271192d2ed7e5b112cd4c6384bcc919e01009729c8302f2514

Contents?: true

Size: 607 Bytes

Versions: 3

Compression:

Stored size: 607 Bytes

Contents

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

require File.join(File.dirname(__FILE__), 'base')

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 = @engine.launch(pdef)

    @engine.wait_for(:alpha)

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

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
ruote-maestrodev-2.2.1 test/functional/ft_44_var_participant.rb
ruote-2.2.0 test/functional/ft_44_var_participant.rb
ruote-2.1.11 test/functional/ft_44_var_participant.rb