spec/zk/zookeeper_spec.rb in zk-1.5.1 vs spec/zk/zookeeper_spec.rb in zk-1.5.2
- old
+ new
@@ -1,9 +1,10 @@
require 'spec_helper'
shared_examples_for 'ZK basic' do
before do
+ logger.debug { "connection_args: #{connection_args.inspect}" }
begin
@zk.create(@base_path)
rescue ZK::Exceptions::NodeExists
end
end
@@ -118,10 +119,10 @@
@zk.children("#{@base_path}/test").should eql(["child"])
end
end
end
-describe 'basic threaded', :threaded => true do
+describe :threaded => true do
include_context 'threaded client connection'
it_should_behave_like 'ZK basic'
end