Sha256: cbc2dddfdd3047197869740e177d98b084c4076fd7cae1a32837da102beb52b3

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 Bytes

Contents

#
# testing ruote
#
# Mon Jun 27 11:24:21 JST 2011
#


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


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

  def test_root_and_root_id

    @dashboard.register :alpha, Ruote::NullParticipant

    wfid = @dashboard.launch(Ruote.define do
      sequence do
        alpha
      end
    end)

    @dashboard.wait_for(:alpha)

    fexp = @dashboard.ps(wfid).expressions.last

    assert_equal '0', fexp.root.fei.expid
    assert_equal Ruote::Exp::SequenceExpression, fexp.root.class

    assert_equal '0', fexp.root_id.expid
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-2.3.0 test/functional/eft_0_flow_expression.rb