aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_test.rb
diff options
context:
space:
mode:
authorKarunakar (Ruby) <revurikarna@gmail.com>2012-01-05 00:22:24 +0530
committerKarunakar (Ruby) <revurikarna@gmail.com>2012-01-06 00:38:46 +0530
commit00236435221a39441af3f1e76110767fba4154a8 (patch)
tree020e11b7db361cada6dc01ec785585da50a62609 /actionpack/test/controller/render_test.rb
parentf63fff6a8492b32c5e44202b938ce5d9600faa2a (diff)
downloadrails-00236435221a39441af3f1e76110767fba4154a8.tar.gz
rails-00236435221a39441af3f1e76110767fba4154a8.tar.bz2
rails-00236435221a39441af3f1e76110767fba4154a8.zip
Moved all the logger methods to active support logger
minor
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-rw-r--r--actionpack/test/controller/render_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb
index 768cfb34ac..ec26315dc7 100644
--- a/actionpack/test/controller/render_test.rb
+++ b/actionpack/test/controller/render_test.rb
@@ -696,7 +696,7 @@ class RenderTest < ActionController::TestCase
# enable a logger so that (e.g.) the benchmarking stuff runs, so we can get
# a more accurate simulation of what happens in "real life".
super
- @controller.logger = Logger.new(nil)
+ @controller.logger = ActiveSupport::Logger.new(nil)
@request.host = "www.nextangle.com"
end
@@ -907,7 +907,7 @@ class RenderTest < ActionController::TestCase
def test_access_to_logger_in_view
get :accessing_logger_in_template
- assert_equal "Logger", @response.body
+ assert_equal "ActiveSupport::Logger", @response.body
end
# :ported: