Sha256: 461b819cfce7a1c6d7f34365f33c0c616339d19b3caafcebd6fa1abef5d86999

Contents?: true

Size: 997 Bytes

Versions: 3

Compression:

Stored size: 997 Bytes

Contents

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

require 'openwfe/expressions/raw_prog'
require 'openwfe/participants/participants'
require 'openwfe/participants/enoparticipant'
require 'flowtestbase'


class FlowTest13 < 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

3 entries across 3 versions & 1 rubygems

Version Path
openwferu-0.9.2 test/ft_13_eno.rb
openwferu-0.9.3 test/ft_13_eno.rb
openwferu-0.9.4 test/ft_13_eno.rb