Sha256: b4580cd9016b257c7e4bab2c6373641583325c2d12a982f56c1f677cda6c732e

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 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

2 entries across 2 versions & 1 rubygems

Version Path
etcdist-0.0.8 spec/etcdist_spec.rb
etcdist-0.0.7 spec/etcdist_spec.rb