Sha256: 475f6761210f7d5a0935c80d33740f46b2238e4f39476111b9a41c9b6970c339
Contents?: true
Size: 667 Bytes
Versions: 70
Compression:
Stored size: 667 Bytes
Contents
require 'spec_helper' describe ::Protobuf::Rpc::Zmq::Broker do before(:each) do load 'protobuf/zmq.rb' end after(:each) do subject.teardown end subject do described_class.new({ :host => '127.0.0.1', :port => 9399 }) end it 'sets up a context' do subject.context.should be_a(::ZMQ::Context) end it 'sets up a frontend socket' do subject.frontend.should be_a(::ZMQ::Socket) end it 'sets up a backend socket' do subject.backend.should be_a(::ZMQ::Socket) end it 'sets up a polling object' do subject.poller.should be_a(::ZMQ::Poller) end describe '#poll' do # no unit tests for this method end end
Version data entries
70 entries across 70 versions & 1 rubygems