diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-07-09 19:41:49 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-07-14 10:46:16 -0700 |
commit | ae9356ae9eff4072efae7433204578c30c6ddbf7 (patch) | |
tree | 463c9b19bf93a604b08593ac6434d2061d0a5e7a /railties/helpers | |
parent | 425de8db6adf13f21242bdd9adcb931bb836ad8b (diff) | |
download | rails-ae9356ae9eff4072efae7433204578c30c6ddbf7.tar.gz rails-ae9356ae9eff4072efae7433204578c30c6ddbf7.tar.bz2 rails-ae9356ae9eff4072efae7433204578c30c6ddbf7.zip |
Cache template loading for performance tests
Diffstat (limited to 'railties/helpers')
-rw-r--r-- | railties/helpers/performance_test_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/helpers/performance_test_helper.rb b/railties/helpers/performance_test_helper.rb index 3c4c7fb740..f1662fa30a 100644 --- a/railties/helpers/performance_test_helper.rb +++ b/railties/helpers/performance_test_helper.rb @@ -2,5 +2,6 @@ require 'test_helper' require 'action_controller/performance_test' ActionController::Base.perform_caching = true +ActionView::Base.cache_template_loading = true ActiveSupport::Dependencies.mechanism = :require Rails.logger.level = ActiveSupport::BufferedLogger::INFO |