Sha256: a999569530e831161debb91a480a9e36e4a4c4a9c119cc63d728e8d932927576

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

require 'spec_helper'

describe Etcd::Log do
  it "should support debug, warn, info logging" do
    expect(Etcd::Log).to respond_to(:debug)
    expect(Etcd::Log).to respond_to(:warn)
    expect(Etcd::Log).to respond_to(:info)
  end
  it "should allow users to set a log levels" do
    Etcd::Log.level = :warn
    expect(Etcd::Log.level).to eq(:warn)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
etcd-0.0.6 spec/unit/etcd/log_spec.rb
etcd-0.0.5 spec/unit/etcd/log_spec.rb
etcd-0.0.4 spec/unit/etcd/log_spec.rb