Sha256: 7d56a626f57d27ff12f1a1426b37fe869e4c66b04b3f584d6fbb48ea31df17dd

Contents?: true

Size: 429 Bytes

Versions: 1

Compression:

Stored size: 429 Bytes

Contents

require 'extras/active_connection'

module ApTestBase

  protected

    def new_wi (participant_name, hash={})

      wi = OpenWFE::Extras::Workitem.new

      wi.fei = "fei"
      wi.wfid = "wfid"
      wi.wf_name = "wf_name"
      wi.wf_revision = "wf_revision"
      wi.participant_name = participant_name

      hash.each do |k, v|
        wi.fields << OpenWFE::Extras::Field.new_field(k, v)
      end

      wi
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruote-0.9.19 test/extras/ap_test_base.rb