Sha256: 6f66ac5d2faef29aba5bfc92dd4690f196f34ad5668ddbff78238bd911d3670c
Contents?: true
Size: 657 Bytes
Versions: 1
Compression:
Stored size: 657 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 steps = [] number_of_steps = 2 + rand(5) number_of_steps.times { steps << Object.new } steps.each do |step| step.extend(Rodimus::Step) transformation.steps << step end steps.first.incoming = incoming transformation.run assert_equal(steps.count, transformation.pids.count) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rodimus-0.1.2 | test/transformation_test.rb |