aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/log_subscriber_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-09-22 15:37:38 +0200
committerJosé Valim <jose.valim@gmail.com>2011-09-22 15:37:38 +0200
commit43d27e9105b385f64ec195f60d10ab3d64281bd4 (patch)
tree755829e527a141ba5aa7db852ec16b3cd9cd073a /actionpack/test/template/log_subscriber_test.rb
parentc3fa2e9bf89039e90c45336979d17cb0c02a6cd2 (diff)
downloadrails-43d27e9105b385f64ec195f60d10ab3d64281bd4.tar.gz
rails-43d27e9105b385f64ec195f60d10ab3d64281bd4.tar.bz2
rails-43d27e9105b385f64ec195f60d10ab3d64281bd4.zip
Deprecate passing the template handler in the template name.
For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases.
Diffstat (limited to 'actionpack/test/template/log_subscriber_test.rb')
-rw-r--r--actionpack/test/template/log_subscriber_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/log_subscriber_test.rb b/actionpack/test/template/log_subscriber_test.rb
index 50e1cccd3b..752b0f23a8 100644
--- a/actionpack/test/template/log_subscriber_test.rb
+++ b/actionpack/test/template/log_subscriber_test.rb
@@ -27,7 +27,7 @@ class AVLogSubscriberTest < ActiveSupport::TestCase
end
def test_render_file_template
- @view.render(:file => "test/hello_world.erb")
+ @view.render(:file => "test/hello_world")
wait
assert_equal 1, @logger.logged(:info).size