Sha256: c109c2230d839877660eb69d687158fac7c950c1b2f06e45f929e8cf0ec77dce

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

require 'spec_helper'

describe 'ROM logger' do
  let(:rom) { Rails.application.config.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

1 entries across 1 versions & 1 rubygems

Version Path
rom-rails-0.1.0 spec/dummy/spec/integration/logger_spec.rb