spec/server/node_set_spec.rb in cellect-server-0.1.3 vs spec/server/node_set_spec.rb in cellect-server-1.0.0
- old
+ new
@@ -2,10 +2,10 @@
module Cellect::Server
describe NodeSet do
it_behaves_like 'node set'
let(:node_set){ Cellect::Server.node_set.actors.first }
-
+
it 'should register this node' do
expect(node_set.id).to eq 'node0000000000'
expect(node_set.zk.get('/nodes/node0000000000').first).to match /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/
end
end