I have some RSpec tests for my models and I would like to turn on SQL ActiveRecord logging just like I see in the Rails server mode. How to do that?
I start my tests wit
In your test.rb:
test.rb
Rails.application.configure do ... config.logger = ActiveSupport::Logger.new(STDOUT) end