spec/support/rails.rb in timber-1.1.8 vs spec/support/rails.rb in timber-1.1.9
- old
+ new
@@ -1,9 +1,9 @@
require "rails"
# Defualt the rails logger to nothing, each test shoould be
# responsible for setting up the logger
-logger = ::Logger.new(STDOUT)
+logger = ::Logger.new(nil) # change to STDOUT to see rails logs
Rails.logger = logger
class RailsApp < Rails::Application
if ::Rails.version =~ /^3\./
config.secret_token = '1e05af2b349457936a41427e63450937'