Sha256: 286e95f898a268dce85ea51fae842b489c1be71afb78d3fa5b6ba240afd44e6c
Contents?: true
Size: 409 Bytes
Versions: 97
Compression:
Stored size: 409 Bytes
Contents
require 'spec_helper' require 'protobuf/zmq' describe ::Protobuf::Rpc::Connectors::Zmq do let(:socket_mock) do sm = mock(::ZMQ::Socket) sm.stub(:connect).and_return(0) sm end let(:zmq_context_mock) do zc = mock(::ZMQ::Context) zc.stub(:socket).and_return(socket_mock) zc end before(:each) do ::ZMQ::Context.stub(:new).and_return(zmq_context_mock) end pending end
Version data entries
97 entries across 97 versions & 1 rubygems