Sha256: ef775673b6717f7d86f7dab6fb2bdf152c8f43bab142b03618852d93af43bee0
Contents?: true
Size: 398 Bytes
Versions: 3
Compression:
Stored size: 398 Bytes
Contents
require 'spec_helper' describe Etcd do describe "#client" do it "should return a valid Etcd::Client object" do expect(Etcd.client).to be_a_kind_of(Etcd::Client) end it "should pass the same options to Etcd::Client initilizer" do opts = { :host => '10.10.10.10', :port=> 4001 } Etcd::Client.should_receive(:new).with(opts) Etcd.client(opts) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
etcd-0.0.6 | spec/unit/etcd_spec.rb |
etcd-0.0.5 | spec/unit/etcd_spec.rb |
etcd-0.0.4 | spec/unit/etcd_spec.rb |