From 3c1187699a80e0c4a003f5693389595cd644390f Mon Sep 17 00:00:00 2001 From: Carl Lerche & Yehuda Katz Date: Tue, 14 Apr 2009 17:22:51 -0700 Subject: Makes rails-dev-boost work again --- actionpack/test/template/compiled_templates_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack/test/template/compiled_templates_test.rb') diff --git a/actionpack/test/template/compiled_templates_test.rb b/actionpack/test/template/compiled_templates_test.rb index a7ed13cf57..c75e29ed9a 100644 --- a/actionpack/test/template/compiled_templates_test.rb +++ b/actionpack/test/template/compiled_templates_test.rb @@ -61,14 +61,14 @@ class CompiledTemplatesTest < Test::Unit::TestCase def render_with_cache(*args) view_paths = ActionController::Base.view_paths - assert_equal ActionView::Template::EagerPath, view_paths.first.class + assert_equal ActionView::Template::FileSystemPath, view_paths.first.class ActionView::Base.new(view_paths, {}).render(*args) end def render_without_cache(*args) - path = ActionView::Template::Path.new(FIXTURE_LOAD_PATH) + path = ActionView::Template::FileSystemPath.new(FIXTURE_LOAD_PATH) view_paths = ActionView::Base.process_view_paths(path) - assert_equal ActionView::Template::Path, view_paths.first.class + assert_equal ActionView::Template::FileSystemPath, view_paths.first.class ActionView::Base.new(view_paths, {}).render(*args) end -- cgit v1.2.3