spec/process/life_cycle_examples.rb in asynchronic-1.3.0 vs spec/process/life_cycle_examples.rb in asynchronic-1.3.1
- old
+ new
@@ -474,6 +474,16 @@
end
process.real_error.must_equal "Error in Child_2_2"
end
+ it 'NestedJobWithErrorInParent' do
+ process = create NestedJobWithErrorInParent, queue: :test_queue
+
+ process.enqueue
+
+ execute queue_engine[:test_queue]
+
+ process.real_error.must_equal "Error in parent"
+ end
+
end
\ No newline at end of file