Sha256: b53661c34d6e8b3c8853ae8d5e0d53071cea435cb79a190587a7974052cbeb13

Contents?: true

Size: 357 Bytes

Versions: 6918

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

Version Path
cybrid_api_id_ruby-0.123.204 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_organization_ruby-0.123.203 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_bank_ruby-0.123.203 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_id_ruby-0.123.203 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_organization_ruby-0.123.200 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_id_ruby-0.123.200 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_id_ruby-0.123.198 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_organization_ruby-0.123.198 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_id_ruby-0.123.197 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_organization_ruby-0.123.197 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_id_ruby-0.123.196 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_organization_ruby-0.123.196 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_id_ruby-0.123.195 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_organization_ruby-0.123.195 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_organization_ruby-0.123.194 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_id_ruby-0.123.194 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_id_ruby-0.123.193 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_organization_ruby-0.123.193 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_organization_ruby-0.123.192 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb
cybrid_api_id_ruby-0.123.192 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/spec/ethon/loggable_spec.rb