spec/etcd/lock_spec.rb in etcd-0.2.2 vs spec/etcd/lock_spec.rb in etcd-0.2.3

- old
+ new

@@ -2,11 +2,19 @@ require 'spec_helper' describe 'lock' do + before(:all) do + start_daemon + end + + after(:all) do + stop_daemon + end + let(:client) do - Etcd.client + etcd_client end it 'should be able to acquire a lock' do expect do client.acquire_lock('/my_lock', 10)