diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-09 11:17:24 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-09 11:17:24 +0200 |
commit | a9b72fbc9e300c42edde88a006e626d4dc8ce129 (patch) | |
tree | 7c9147e535dbb31016381c14cc23b51d001d69a5 /actionpack/test/template | |
parent | 4f03e404b20b693c78b223e0c22e8233bf11e940 (diff) | |
download | rails-a9b72fbc9e300c42edde88a006e626d4dc8ce129.tar.gz rails-a9b72fbc9e300c42edde88a006e626d4dc8ce129.tar.bz2 rails-a9b72fbc9e300c42edde88a006e626d4dc8ce129.zip |
Optimize the most common resolver case.
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/render_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index d4e912c410..86d08a43a5 100644 --- a/actionpack/test/template/render_test.rb +++ b/actionpack/test/template/render_test.rb @@ -325,7 +325,7 @@ class CachedViewRenderTest < ActiveSupport::TestCase # Ensure view path cache is primed def setup view_paths = ActionController::Base.view_paths - assert_equal ActionView::FileSystemResolver, view_paths.first.class + assert_equal ActionView::OptimizedFileSystemResolver, view_paths.first.class setup_view(view_paths) end |