aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/template_finder_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/template/template_finder_test.rb')
-rw-r--r--actionpack/test/template/template_finder_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/template_finder_test.rb b/actionpack/test/template/template_finder_test.rb
index 6cd6957a0b..2b9569f099 100644
--- a/actionpack/test/template/template_finder_test.rb
+++ b/actionpack/test/template/template_finder_test.rb
@@ -6,7 +6,7 @@ class TemplateFinderTest < Test::Unit::TestCase
def setup
ActionView::TemplateFinder.process_view_paths(LOAD_PATH_ROOT)
- ActionView::Base::register_template_handler :mab, Class.new(ActionView::TemplateHandler)
+ ActionView::Template::register_template_handler :mab, Class.new(ActionView::TemplateHandler)
@template = ActionView::Base.new
@finder = ActionView::TemplateFinder.new(@template, LOAD_PATH_ROOT)
end
@@ -35,7 +35,7 @@ class TemplateFinderTest < Test::Unit::TestCase
def test_should_update_extension_cache_when_template_handler_is_registered
ActionView::TemplateFinder.expects(:update_extension_cache_for).with("funky")
- ActionView::Base::register_template_handler :funky, Class.new(ActionView::TemplateHandler)
+ ActionView::Template::register_template_handler :funky, Class.new(ActionView::TemplateHandler)
end
end