diff options
author | Carl Lerche & Yehuda Katz <wycats@gmail.com> | 2009-04-14 17:22:51 -0700 |
---|---|---|
committer | Carl Lerche & Yehuda Katz <wycats@gmail.com> | 2009-04-14 18:32:31 -0700 |
commit | 3c1187699a80e0c4a003f5693389595cd644390f (patch) | |
tree | 3fc026e57412f4d145d5df314b4c6ce468ab84c1 /actionpack/test/template/compiled_templates_test.rb | |
parent | 109a3876f09cb6b51a6da4d517bd6e3ea30380da (diff) | |
download | rails-3c1187699a80e0c4a003f5693389595cd644390f.tar.gz rails-3c1187699a80e0c4a003f5693389595cd644390f.tar.bz2 rails-3c1187699a80e0c4a003f5693389595cd644390f.zip |
Makes rails-dev-boost work again
Diffstat (limited to 'actionpack/test/template/compiled_templates_test.rb')
-rw-r--r-- | actionpack/test/template/compiled_templates_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |