spec/celluloid/pool_spec.rb in celluloid-0.15.0 vs spec/celluloid/pool_spec.rb in celluloid-0.15.1
- old
+ new
@@ -47,6 +47,13 @@
end
it "terminates" do
expect { subject.terminate }.to_not raise_exception
end
+
+ it "handles many requests" do
+ futures = 10.times.map do
+ subject.future.process
+ end
+ futures.map(&:value)
+ end
end