spec/dummy/spec/integration/logger_spec.rb in rom-rails-0.2.1 vs spec/dummy/spec/integration/logger_spec.rb in rom-rails-0.3.0.beta1
- old
+ new
@@ -1,8 +1,8 @@
require 'spec_helper'
describe 'ROM logger' do
- let(:rom) { Rails.application.config.rom.env }
+ 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'