spec/queue_engine/synchronic_spec.rb in asynchronic-1.2.1 vs spec/queue_engine/synchronic_spec.rb in asynchronic-1.2.2

- old
+ new

@@ -21,7 +21,14 @@ pid = BasicJob.enqueue input: 1 process = Asynchronic[pid] process.result.must_equal 20 end + + it 'Graph job' do + pid = GraphJob.enqueue input: 100 + process = Asynchronic[pid] + process.must_be_completed + process.result.must_equal '10%' => 20, '20%' => 40 + end end \ No newline at end of file