diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-07-15 21:07:25 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-07-15 21:07:25 +0100 |
commit | b337ab0221085ab1a941d87f06eb4904b5852c82 (patch) | |
tree | d3e3a716dcc1c0922c5e55b8e4e56e75ffa9b205 /railties/lib/performance_test_help.rb | |
parent | aca246ab25497bb6787d2e18680e9f73ad13d223 (diff) | |
download | rails-b337ab0221085ab1a941d87f06eb4904b5852c82.tar.gz rails-b337ab0221085ab1a941d87f06eb4904b5852c82.tar.bz2 rails-b337ab0221085ab1a941d87f06eb4904b5852c82.zip |
Move performance test helper settings to railties
Diffstat (limited to 'railties/lib/performance_test_help.rb')
-rw-r--r-- | railties/lib/performance_test_help.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/lib/performance_test_help.rb b/railties/lib/performance_test_help.rb new file mode 100644 index 0000000000..a5e52a7acb --- /dev/null +++ b/railties/lib/performance_test_help.rb @@ -0,0 +1,6 @@ +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 |