Sha256: 3c014d0e5aea77c7fe2cc925edb9325c4054b720d237906f87a408fe3ac8a930

Contents?: true

Size: 402 Bytes

Versions: 12

Compression:

Stored size: 402 Bytes

Contents

RSpec.describe 'ROM logger' do
  let(:rom) { ROM.env }

  it 'sets up rails logger for all gateways' do
    pending 'this will be re-enabled once we have feature detection on ' \
      'adapters and in case of missing rails-log-subscriber support we ' \
      'will set logger to Rails.logger'
    rom.gateways.each_value do |gateway|
      expect(gateway.logger).to be(Rails.logger)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rom-rails-2.4.0 spec/integration/logger_spec.rb
rom-rails-2.3.1 spec/integration/logger_spec.rb
rom-rails-2.3.0 spec/integration/logger_spec.rb
rom-rails-2.2.0 spec/integration/logger_spec.rb
rom-rails-2.0.0 spec/integration/logger_spec.rb
rom-rails-1.2.0 spec/integration/logger_spec.rb
rom-rails-1.1.1 spec/integration/logger_spec.rb
rom-rails-1.1.0 spec/integration/logger_spec.rb
rom-rails-1.0.1 spec/integration/logger_spec.rb
rom-rails-1.0.0 spec/integration/logger_spec.rb
rom-rails-1.0.0.rc1 spec/integration/logger_spec.rb
rom-rails-1.0.0.beta1 spec/integration/logger_spec.rb