spec/process/life_cycle_examples.rb in asynchronic-3.0.1 vs spec/process/life_cycle_examples.rb in asynchronic-3.0.2
- old
+ new
@@ -590,10 +590,11 @@
'AbortQueuedAfterErrorJob::Child_2' => :completed,
'AbortQueuedAfterErrorJob::Child_3' => :aborted,
'AbortQueuedAfterErrorJob::Child_4' => :aborted
process.real_error.must_equal 'Forced error'
+ process.processes[0].processes[1].error.message.must_equal Asynchronic::Process::AUTOMATIC_ABORTED_ERROR_MESSAGE
end
it 'Manual abort' do
process = create NestedJob, input: 10
@@ -759,8 +760,7 @@
process.must_be_aborted
process.real_error.must_equal 'Job error'
queue.must_be_empty
end
-
end
\ No newline at end of file