Sha256: 05b89cfdc0715d3ea309b59f0b554778041d0f9b8a7e7d04ceed0d6cf13027c5
Contents?: true
Size: 607 Bytes
Versions: 20
Compression:
Stored size: 607 Bytes
Contents
require 'spec_helper' describe Berkshelf::API::Logging do describe "ClassMethods" do subject { described_class } describe "::init" do after { described_class.init(location: nil) } it "sets the Celluloid.logger to ::logger" do subject.init expect(Celluloid.logger).to eql(subject.logger) end end describe "::logger" do it "returns a Logger object" do expect(subject.logger).to be_a(Logger) end end end describe "#logger" do it "returns a Logger object" do expect(subject.logger).to be_a(Logger) end end end
Version data entries
20 entries across 20 versions & 1 rubygems