diff options
author | Yves Senn <yves.senn@garaio.com> | 2012-11-26 17:23:20 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@garaio.com> | 2012-11-26 17:23:20 +0100 |
commit | 6fc83201db153362dd6dce6cf3461dfffa74da96 (patch) | |
tree | 89888bf21f7ccd9bd9662b7ebd157c21c2e62454 /activemodel/test/cases/railtie_test.rb | |
parent | 02c30c64262fd9e1625bc7f3723729c4e62e610b (diff) | |
download | rails-6fc83201db153362dd6dce6cf3461dfffa74da96.tar.gz rails-6fc83201db153362dd6dce6cf3461dfffa74da96.tar.bz2 rails-6fc83201db153362dd6dce6cf3461dfffa74da96.zip |
log output from activemodel's railtie_test directly to STDOUT
after this patch, running the tests in activemodel will no longer
create an untracked log/ folder inside of activemodel
Diffstat (limited to 'activemodel/test/cases/railtie_test.rb')
-rw-r--r-- | activemodel/test/cases/railtie_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activemodel/test/cases/railtie_test.rb b/activemodel/test/cases/railtie_test.rb index f89a288f8f..95c57c049f 100644 --- a/activemodel/test/cases/railtie_test.rb +++ b/activemodel/test/cases/railtie_test.rb @@ -9,6 +9,7 @@ class RailtieTest < ActiveModel::TestCase @app ||= Class.new(::Rails::Application).tap do |app| app.config.eager_load = false + app.config.logger = Logger.new(STDOUT) end end |