diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-11-26 20:54:47 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-11-26 20:54:47 -0600 |
commit | 4d910b033379727e5e7355590c50c72fc75e56db (patch) | |
tree | ada3e45bf32d37d8f17f6ea944c8400912da26a8 /actionpack/test/abstract_unit.rb | |
parent | 9d2002a12a473f5b35c52db82518f4631776414f (diff) | |
download | rails-4d910b033379727e5e7355590c50c72fc75e56db.tar.gz rails-4d910b033379727e5e7355590c50c72fc75e56db.tar.bz2 rails-4d910b033379727e5e7355590c50c72fc75e56db.zip |
Super lazy load view paths in development mode (no indexing or caching at all). Switch layout finders to use view path api to take advantage of cache.
Diffstat (limited to 'actionpack/test/abstract_unit.rb')
-rw-r--r-- | actionpack/test/abstract_unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index bee598e1ef..24fdc03507 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -30,8 +30,8 @@ ActionController::Base.logger = nil ActionController::Routing::Routes.reload rescue nil FIXTURE_LOAD_PATH = File.join(File.dirname(__FILE__), 'fixtures') -ActionView::PathSet::Path.eager_load_templates! ActionController::Base.view_paths = FIXTURE_LOAD_PATH +ActionController::Base.view_paths.load def uses_mocha(test_name) yield |