Sha256: b2f4546680e80e260f4b8724dd200f0a76a9eb94d0daa5472cb6740189f55ee8
Contents?: true
Size: 599 Bytes
Versions: 2
Compression:
Stored size: 599 Bytes
Contents
require 'minitest/autorun' require 'rodimus' module Rodimus class TestTransformation < MiniTest::Unit::TestCase Rodimus.configure do |config| config.logger = Logger.new(nil) end def test_forking_processes incoming = StringIO.new transformation = Transformation.new number_of_steps = 2 + rand(5) number_of_steps.times do transformation.steps << Rodimus::Step.new end transformation.steps.first.incoming = incoming transformation.run assert_equal(transformation.steps.count, transformation.pids.count) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rodimus-1.1.0 | test/rodimus/transformation_test.rb |
rodimus-1.0.0 | test/rodimus/transformation_test.rb |