Sha256: 54ee5a9d3b32c6f33f3c307364cf51fca95a44f467788a8459059a9de8886703

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

require_relative '../helper'

class TestEmWorkerPoolWorker < Test::Unit::TestCase
  def test_defaults
    pool = EmWorkerPool.new
    args = %w[ test arguments ]

    worker = EmWorkerPool::Worker.new(pool, *args)

    assert_equal pool, worker.pool
    assert_equal nil, worker.block
    assert_equal args, worker.args
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
em-worker-pool-0.1.0 test/unit/test_worker_pool_worker.rb