test/spec_helper.rb in angelo-0.4.1 vs test/spec_helper.rb in angelo-0.5.0

- old
+ new

@@ -6,10 +6,11 @@ SimpleCov.start SimpleCov.command_name 'minitest' end require 'bundler' +require 'celluloid/current' Bundler.require :default, :development, :test require 'minitest/pride' require 'minitest/autorun' require 'angelo' require 'angelo/minitest/helpers' @@ -48,11 +49,10 @@ end end $reactor = Reactor.new - -$pool = ActorPool.pool size: CONCURRENCY +$pool = Array.new(CONCURRENCY){|n| Actor.new} def obj {'foo' => 'bar', 'bar' => 123.4567890123456, 'bat' => true} end