Sha256: fd37beb62e6146590f7a6757cf9befa612dec18dc73b995075c8b39779396f67
Contents?: true
Size: 391 Bytes
Versions: 7
Compression:
Stored size: 391 Bytes
Contents
context 'Pullers' do setup do @context = EZMQ::Context.new options = { transport: :inproc, address: 'test', context: @context } @pusher = EZMQ::Pusher.new options @puller = EZMQ::Puller.new options Thread.new do @pusher.send 'message' end end should 'return the contents of messages they receive' do assert_equal 'message', @puller.receive end end
Version data entries
7 entries across 7 versions & 1 rubygems