spec/queue_engine/synchronic_spec.rb in asynchronic-1.6.3 vs spec/queue_engine/synchronic_spec.rb in asynchronic-2.0.0
- old
+ new
@@ -32,7 +32,11 @@
pid = GraphJob.enqueue input: 100
process = Asynchronic[pid]
process.must_be_completed
process.result.must_equal '10%' => 20, '20%' => 40
end
-
+
+ it 'Active connections' do
+ Asynchronic.queue_engine.active_connections.must_equal [Asynchronic.connection_name]
+ end
+
end
\ No newline at end of file