Sha256: ff834cd29209d5316c2e6a52d71b879172c494bcc11c0752bfc8993a72283b75
Contents?: true
Size: 545 Bytes
Versions: 2
Compression:
Stored size: 545 Bytes
Contents
require 'spec_helper' describe ZK::Client::Threaded do include_context 'threaded client connection' it_should_behave_like 'client' describe :close! do describe 'from a threadpool thread' do it %[should do the right thing and not fail] do # this is an extra special case where the user obviously hates us @zk.should be_kind_of(ZK::Client::Threaded) # yeah yeah, just be sure @zk.defer do @zk.close! end wait_until { @zk.closed? }.should be_true end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zk-1.0.0 | spec/zk/client_spec.rb |
zk-1.0.0.rc.1 | spec/zk/client_spec.rb |