Sha256: 3145773f87fbab3f3c2cad77cebe21ef928f2b9710481f347c0e73c5803ecd86

Contents?: true

Size: 349 Bytes

Versions: 73

Compression:

Stored size: 349 Bytes

Contents

require 'spec_helper'

unless defined?(::JRUBY_VERSION)
  describe Zookeeper::ZookeeperBase do
    before do
      @zk = described_class.new(Zookeeper.default_cnx_str)
    end

    after do
      @zk.close unless @zk.closed?
    end

    it %[should have an original_pid assigned] do
      @zk.original_pid.should == Process.pid
    end
  end
end


Version data entries

73 entries across 73 versions & 2 rubygems

Version Path
zookeeper-1.5.3 spec/ext/zookeeper_base_spec.rb
zookeeper-1.5.3-java spec/ext/zookeeper_base_spec.rb
zookeeper-ng-1.5.2.1 spec/ext/zookeeper_base_spec.rb
zookeeper-ng-1.5.2.1-java spec/ext/zookeeper_base_spec.rb
zookeeper-1.5.1-java spec/ext/zookeeper_base_spec.rb
zookeeper-1.5.1 spec/ext/zookeeper_base_spec.rb
zookeeper-1.5.0-java spec/ext/zookeeper_base_spec.rb
zookeeper-1.5.0 spec/ext/zookeeper_base_spec.rb
zookeeper-ng-1.5 spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.11 spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.11-java spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.10 spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.10-java spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.9 spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.9-java spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.8 spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.8-java spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.7 spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.7-java spec/ext/zookeeper_base_spec.rb
zookeeper-1.4.6 spec/ext/zookeeper_base_spec.rb