Sha256: b74f1e9af6d0e37f4a52c4f351e8ff15d9115f6822d45424ea7f7c20ba26fdad

Contents?: true

Size: 433 Bytes

Versions: 6

Compression:

Stored size: 433 Bytes

Contents

require 'spec_helper'

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

  it 'sets up rails logger for all repositories' 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.repositories.each_value do |repository|
      expect(repository.logger).to be(Rails.logger)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rom-rails-0.3.3 spec/dummy/spec/integration/logger_spec.rb
rom-rails-0.3.2 spec/dummy/spec/integration/logger_spec.rb
rom-rails-0.3.1 spec/dummy/spec/integration/logger_spec.rb
rom-rails-0.3.0 spec/dummy/spec/integration/logger_spec.rb
rom-rails-0.3.0.rc1 spec/dummy/spec/integration/logger_spec.rb
rom-rails-0.3.0.beta1 spec/dummy/spec/integration/logger_spec.rb