Sha256: 6aa2e89b2baff97d2b8b70484370585001994f9dd5086565a6314e1cd9c52f08

Contents?: true

Size: 389 Bytes

Versions: 21

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe 'RubyRabbitmqJanus::Log', type: :config, name: :log do
  it 'Log instance is correctly loading' do
    expect(RubyRabbitmqJanus::Tools::Log.instance).not_to be nil
  end

  it 'Default level log is INFO' do
    # 0 = debug
    # ...
    # 5 = unknown
    expect(RubyRabbitmqJanus::Tools::Log.instance.level).to eq 1
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-2.0.0.pre.108 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-2.0.0 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.106 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.101 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.100 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.97 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.96 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.95 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-2.0.0.pre.42 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.9 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.8 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.7 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.7.pre.alpha spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.6 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.5 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.4 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.3.pre.53 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.3 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.2 spec/rrj/rrj_log_spec.rb
ruby_rabbitmq_janus-1.2.1 spec/rrj/rrj_log_spec.rb