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

Version Path
protobuf-2.7.12 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.11-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.11 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.10-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.10 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.9-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.9 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.8-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.8 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.7-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.7 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.6-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.6 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.5-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.5 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.4-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.4 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.3-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.3 spec/lib/protobuf/rpc/connectors/zmq_spec.rb
protobuf-2.7.2-java spec/lib/protobuf/rpc/connectors/zmq_spec.rb