Sha256: 8e73ea1c4b99c6e2fb7129a4d8b246da95f9dbd0f7ce2f7dbc0383dcd03184d4

Contents?: true

Size: 855 Bytes

Versions: 1

Compression:

Stored size: 855 Bytes

Contents

#
# Testing OpenWFE
#
# John Mettraux at openwfe.org
#
# Tue Jan  2 13:14:37 JST 2007
#

require 'openwfe/def'
require 'openwfe/participants/participants'
require 'openwfe/participants/enoparticipants'
require 'flowtestbase'


class FlowTest13 < Test::Unit::TestCase
  include FlowTestBase

  #def setup
  #end

  #def teardown
  #end

  #
  # Test 0
  #

  class TestDefinition0 < OpenWFE::ProcessDefinition
    def make
      process_definition :name => "test0", :revision => "0" do
        sequence do
          set :field => 'email_target' do
            "whatever56x56@gmail.com"
          end
          set :field => 'customer_name' do
            "Monsieur Toto"
          end
          participant :ref => 'eno'
          _print "ok"
        end
      end
    end
  end

  def test_ppd_0
    dotest(
      TestDefinition0,
      "ok")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-0.9.19 test/ft_13_eno.rb