Sha256: 1adc2e80a603161dbf28cac3917482dbeb37491dc73294ee88e7e4d7d37ba53f

Contents?: true

Size: 247 Bytes

Versions: 4

Compression:

Stored size: 247 Bytes

Contents

require 'rest-core/test'

describe RC::ThreadPool do
  should 'have the same pool for the same client' do
    client = RC::Builder.client
    pool   = RC::ThreadPool[client]
    RC::ThreadPool[client].object_id.should.eq pool.object_id
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rest-core-3.2.0 test/test_thread_pool.rb
rest-core-3.1.1 test/test_thread_pool.rb
rest-core-3.1.0 test/test_thread_pool.rb
rest-core-3.0.0 test/test_thread_pool.rb