Sha256: e8235d37e0d2c3fe9dddc48e3d145a8b64de1fbfb067a026a76cacdcbcd973b1

Contents?: true

Size: 1015 Bytes

Versions: 2

Compression:

Stored size: 1015 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

2 entries across 2 versions & 2 rubygems

Version Path
openwferu-0.9.17 test/ft_13_eno.rb
ruote-0.9.18 test/ft_13_eno.rb