spec/z_k/client_spec.rb in zk-0.8.5 vs spec/z_k/client_spec.rb in zk-0.8.6

- old
+ new

@@ -94,9 +94,19 @@ wait_until(2) { @a } @a.should be_true end end end + + describe 'session_id and session_passwd' do + it %[should expose the underlying session_id] do + @zk.session_id.should be_kind_of(Fixnum) + end + + it %[should expose the underlying session_passwd] do + @zk.session_passwd.should be_kind_of(String) + end + end end