diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2013-03-15 10:38:00 -0700 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2013-03-15 10:38:00 -0700 |
commit | 1a9055073dcc189b289a1e3f47cbc72ff7380f0a (patch) | |
tree | d9751d5556a262a8e14edfe940325d8adc2074c3 /railties/test | |
parent | 29030d3f89298905acc782df89b758d163dcf630 (diff) | |
download | rails-1a9055073dcc189b289a1e3f47cbc72ff7380f0a.tar.gz rails-1a9055073dcc189b289a1e3f47cbc72ff7380f0a.tar.bz2 rails-1a9055073dcc189b289a1e3f47cbc72ff7380f0a.zip |
Revert "make new rails apps log to STDOUT"
This reverts commit b7d9d6e2cd5082d269dafbc0316e2107febe1451.
Per discussion with @jeremy and @rubys on Campfire.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/configuration_test.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 40000b0ce6..7b45623f6c 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -670,26 +670,5 @@ module ApplicationTests end end end - - test "set logger to STDOUT by default" do - stdout = capture(:stdout) do - app = build_app - - controller :omg, <<-RUBY - class OmgController < ApplicationController - def index - Rails.logger.info "HI MOM" - render text: "omg" - end - end - RUBY - - require "#{app_path}/config/environment" - - get "/omg/index" - end - - assert stdout.include?("HI MOM"), "STDOUT does not include 'HI MOM', #{stdout}" - end end end |