Sha256: 4ba527eb89d096c47dbf2699a70ecb8d986764131a484d13c53f1b29727712aa

Contents?: true

Size: 347 Bytes

Versions: 2

Compression:

Stored size: 347 Bytes

Contents

require 'test/unit'
require 'cascading'

class TC_Flow < Test::Unit::TestCase
  def test_assembly
    flow = flow 'My Flow1' do
      assembly "Test1" do
      end
    end

    assert_equal 1, flow.children.size
    assert_equal flow.children["Test1"], flow.find_child("Test1")
    assert_equal flow.last_child, flow.find_child("Test1")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cascading.jruby-0.0.5 test/test_flow.rb
cascading.jruby-0.0.4 test/test_flow.rb