spec/etcd/node_spec.rb in etcd-0.2.2 vs spec/etcd/node_spec.rb in etcd-0.2.3
- old
+ new
@@ -1,10 +1,18 @@
require 'spec_helper'
describe Etcd::Node do
+ before(:all) do
+ start_daemon
+ end
+
+ after(:all) do
+ stop_daemon
+ end
+
let(:client) do
- Etcd.client
+ etcd_client
end
it 'should create a directory with parent key when nested keys are set' do
parent = random_key
child = random_key