Sha256: 78babd6a7e2c9f244c8641180f643a74f8d2776f28ee56033846b0ebf8aa34b1

Contents?: true

Size: 408 Bytes

Versions: 42

Compression:

Stored size: 408 Bytes

Contents

require "spec_helper"

describe Berkshelf::Mixin::Logging do
  subject do
    Class.new { include Berkshelf::Mixin::Logging }.new
  end

  describe "#logger" do
    it "returns the Berkshelf::Logger" do
      expect(subject.logger).to be_a(Berkshelf::Logger)
    end
  end

  describe "#log" do
    it "returns the Berkshelf::Logger" do
      expect(subject.log).to be_a(Berkshelf::Logger)
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
berkshelf-8.0.15 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-8.0.13 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-8.0.12 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-8.0.9 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-8.0.7 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-8.0.5 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-8.0.2 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-8.0.1 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-8.0.0 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.2.2 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.2.1 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.2.0 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.1.0 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.0.10 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.0.9 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.0.8 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.0.7 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-6.3.4 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.0.6 spec/unit/berkshelf/mixin/logging_spec.rb
berkshelf-7.0.5 spec/unit/berkshelf/mixin/logging_spec.rb