Sha256: 2947ec3750ac7bee2c029c221c9e39e4671941e3cbdd37b6f0da6ad69b4c9dcd
Contents?: true
Size: 474 Bytes
Versions: 21
Compression:
Stored size: 474 Bytes
Contents
require File.expand_path(__FILE__).sub(%r(/test/.*), '/test/test_helper.rb') require File.expand_path(__FILE__).sub(%r(.*/test/), '').sub(/test_(.*)\.rb/,'\1') require 'scout/workflow' class TestWorkflowUtil < Test::Unit::TestCase def test_annonymous_workflow wf = Workflow.annonymous_workflow "TEST" do task :length => :integer do self.length end end bindings = "12345" assert_equal 5, wf.tasks[:length].exec_on(bindings) end end
Version data entries
21 entries across 21 versions & 1 rubygems