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.alpha73 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha72 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha71 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha70 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha69 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha68 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha67 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha66 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-oathkeeper-client-0.38.19.beta1 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-oathkeeper-client-0.38.18.beta1 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-oathkeeper-client-0.38.17.beta1 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
avalara_sdk-2.4.7 vendor/bundle/ruby/2.6.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha58 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha57 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha56 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha55 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha54 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha53 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha52 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha51 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb