Sha256: b53661c34d6e8b3c8853ae8d5e0d53071cea435cb79a190587a7974052cbeb13

Contents?: true

Size: 357 Bytes

Versions: 6478

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true
require "spec_helper"

describe Ethon::Loggable do

  describe "#logger=" do

    let(:logger) do
      Logger.new($stdout).tap do |log|
        log.level = Logger::INFO
      end
    end

    before do
      Ethon.logger = logger
    end

    it "sets the logger" do
      expect(Ethon.logger).to eq(logger)
    end
  end
end

Version data entries

6,478 entries across 6,476 versions & 21 rubygems

Version Path
ory-client-0.0.1.alpha92 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-oathkeeper-client-0.38.20.beta1 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha91 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha90 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha89 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha88 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha87 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha86 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha85 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha84 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha83 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha82 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha81 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha80 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha79 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha78 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha77 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha76 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha75 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha74 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb