Sha256: 634c4fc15a79ddcce509c6f7e5180da5524108ce62831d01b64211cc5198f88c

Contents?: true

Size: 372 Bytes

Versions: 8

Compression:

Stored size: 372 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

8 entries across 8 versions & 1 rubygems

Version Path
cellect-server-1.3.3 spec/server/node_set_spec.rb
cellect-server-1.3.2 spec/server/node_set_spec.rb
cellect-server-1.3.1 spec/server/node_set_spec.rb
cellect-server-1.3.0 spec/server/node_set_spec.rb
cellect-server-1.2.0 spec/server/node_set_spec.rb
cellect-server-1.1.0 spec/server/node_set_spec.rb
cellect-server-1.0.1 spec/server/node_set_spec.rb
cellect-server-1.0.0 spec/server/node_set_spec.rb