diff options
author | José Valim <jose.valim@gmail.com> | 2011-09-22 15:37:38 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-09-22 15:37:38 +0200 |
commit | 43d27e9105b385f64ec195f60d10ab3d64281bd4 (patch) | |
tree | 755829e527a141ba5aa7db852ec16b3cd9cd073a /actionpack/test/template/log_subscriber_test.rb | |
parent | c3fa2e9bf89039e90c45336979d17cb0c02a6cd2 (diff) | |
download | rails-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.rb | 2 |
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 |