spec/node_spec.rb in dripdrop-0.8.1 vs spec/node_spec.rb in dripdrop-0.9.2

- old
+ new

@@ -54,24 +54,18 @@ end end describe "shutdown" do before do - @ddn = DripDrop::Node.new { - zmq_subscribe(rand_addr,:bind) #Keeps ZMQMachine Happy - } + @ddn = DripDrop::Node.new {} @ddn.start sleep 0.1 @ddn.stop rescue nil sleep 0.1 end it "should stop EventMachine" do EM.reactor_running?.should be_false - end - - it "should stop ZMQMachine" do - @ddn.zm_reactor.running?.should be_false end end describe "exceptions in EM reactor" do class TestException < StandardError; end