Sha256: 7e253782a5080bcbfb88bfef20a7256570abf39581d8b915ac979064da403960
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
RSpec.describe Dryad::Consul do it "has a version number" do expect(Dryad::Consul::VERSION).not_to be(nil) end it "has configured dependencies" do config = OpenStruct.new({ consul: { host: "127.0.0.1", port: 8500 } }) Dryad::Consul.configure_consul(config) expect(::Diplomat.configuration.url).to eq("http://127.0.0.1:8500") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dryad-0.2.5 | dryad-consul/spec/dryad/consul_spec.rb |