spec/celluloid/zmq/socket_spec.rb in celluloid-zmq-0.16.1 vs spec/celluloid/zmq/socket_spec.rb in celluloid-zmq-0.17.0
- old
+ new
@@ -1,10 +1,10 @@
require 'celluloid/rspec'
RSpec.describe Celluloid::ZMQ::Socket, actor_system: :global do
it "allows setting and getting ZMQ options on the socket" do
- socket = Celluloid::ZMQ::RepSocket.new
+ socket = Celluloid::ZMQ::Socket::Rep.new
socket.set(::ZMQ::IDENTITY, "Identity")
identity = socket.get(::ZMQ::IDENTITY)
expect(identity).to eq("Identity")