spec/etcd/stats_spec.rb in etcd-0.2.2 vs spec/etcd/stats_spec.rb in etcd-0.2.3
- old
+ new
@@ -2,11 +2,19 @@
require 'spec_helper'
describe Etcd::Stats do
+ before(:all) do
+ start_daemon(5)
+ end
+
+ after(:all) do
+ stop_daemon
+ end
+
let(:client) do
- Etcd.client
+ etcd_client
end
describe 'of leader' do
let(:stats) do