aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/custom_handler_test.rb
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-03-05 02:03:24 +0000
committerPratik Naik <pratiknaik@gmail.com>2008-03-05 02:03:24 +0000
commita96272a0c59b75a6838936af1eb7568b6136945a (patch)
tree12b69a7d678e513f0a43037dfe3f407906fb8415 /actionpack/test/controller/custom_handler_test.rb
parent89ee5d63d039af6770014a3bfdc4a743be9a429c (diff)
downloadrails-a96272a0c59b75a6838936af1eb7568b6136945a.tar.gz
rails-a96272a0c59b75a6838936af1eb7568b6136945a.tar.bz2
rails-a96272a0c59b75a6838936af1eb7568b6136945a.zip
Moved template handlers related code from ActionView::Base to ActionView::Template
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/custom_handler_test.rb')
-rw-r--r--actionpack/test/controller/custom_handler_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/custom_handler_test.rb b/actionpack/test/controller/custom_handler_test.rb
index cdde00cccc..cf1e2361bd 100644
--- a/actionpack/test/controller/custom_handler_test.rb
+++ b/actionpack/test/controller/custom_handler_test.rb
@@ -14,8 +14,8 @@ end
class CustomHandlerTest < Test::Unit::TestCase
def setup
- ActionView::Base.register_template_handler "foo", CustomHandler
- ActionView::Base.register_template_handler :foo2, CustomHandler
+ ActionView::Template.register_template_handler "foo", CustomHandler
+ ActionView::Template.register_template_handler :foo2, CustomHandler
@view = ActionView::Base.new
end