spec/zk/watch_spec.rb in zk-1.5.1 vs spec/zk/watch_spec.rb in zk-1.5.2
- old
+ new
@@ -356,10 +356,9 @@
describe 'state watcher' do
describe 'live-fire test' do
before do
@event = nil
- @cnx_str = "localhost:#{ZK.test_port}"
@zk = ZK.new(*connection_args) do |zk|
@cnx_reg = zk.on_connected { |event| @event = event }
end
end