Sha256: 1d150cd355bb0108e29fcd5d492f35e18ed01d1f6ccd64cc317fa907aa1b3850
Contents?: true
Size: 408 Bytes
Versions: 4
Compression:
Stored size: 408 Bytes
Contents
RSpec.describe Dryad::Consul::ConfigProvider do before do @key = "path/of/key" @value = "value of key" ::Diplomat::Kv.put(@key, @value) end after do ::Diplomat::Kv.delete(@key) end it "load configuration with path" do cd = Dryad::Consul::ConfigProvider.load(@key) expect(cd.path).to eq(@key) expect(cd.payload).to eq(@value) expect(cd.version).to be > 0 end end
Version data entries
4 entries across 4 versions & 1 rubygems