Sha256: 05dd54094896b49554bfe41912d63c8dbd2fffe9f3eba708c3a2c426077f6360
Contents?: true
Size: 495 Bytes
Versions: 3
Compression:
Stored size: 495 Bytes
Contents
require 'spec_helper' describe Etcdist do skip 'acceptance test - expects etcd running on localhost:4001' do let(:etcd_opts) do { host: 'localhost', port: 4001 } end let(:etcd) do Etcd.client(etcd_opts) end let(:dir) do File.join(File.dirname(__FILE__), 'data') end it 'should read data and put entries to etcd' do Etcdist.execute(dir, etcd_opts) expect(etcd.get('/etcdist/foo/fish').value).to eq('plankton') end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
etcdist-0.0.6 | spec/etcdist_spec.rb |
etcdist-0.0.5 | spec/etcdist_spec.rb |
etcdist-0.0.4 | spec/etcdist_spec.rb |