test/rodimus/transformation_test.rb in rodimus-1.1.0 vs test/rodimus/transformation_test.rb in rodimus-1.2.0

- old
+ new

@@ -6,19 +6,19 @@ class TestTransformation < MiniTest::Unit::TestCase Rodimus.configure do |config| config.logger = Logger.new(nil) end - def test_forking_processes + def test_parallel_steps 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) + assert_equal(transformation.steps.count, transformation.ids.count) end end end