Sha256: 939cad92aa45b6284e60b49e864c4eec1ef5208951dae5602076751c2a5c63f2

Contents?: true

Size: 376 Bytes

Versions: 7

Compression:

Stored size: 376 Bytes

Contents

require 'spec_helper'

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
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cellect-server-0.1.3 spec/server/node_set_spec.rb
cellect-server-0.1.2.pre.jruby spec/server/node_set_spec.rb
cellect-server-0.1.2 spec/server/node_set_spec.rb
cellect-server-0.1.1 spec/server/node_set_spec.rb
cellect-server-0.1.0 spec/server/node_set_spec.rb
cellect-server-0.0.9 spec/server/node_set_spec.rb
cellect-server-0.0.8 spec/server/node_set_spec.rb