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