Sha256: b53661c34d6e8b3c8853ae8d5e0d53071cea435cb79a190587a7974052cbeb13

Contents?: true

Size: 357 Bytes

Versions: 6782

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,782 entries across 6,780 versions & 23 rubygems

Version Path
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
ory-client-0.0.1.alpha50 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha49 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha48 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha47 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha46 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha45 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha44 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha43 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha42 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha41 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha40 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha39 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha38 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha37 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-client-0.0.1.alpha36 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb
ory-kratos-client-0.8.2.alpha1 vendor/bundle/ruby/2.5.0/gems/ethon-0.15.0/spec/ethon/loggable_spec.rb