1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Move performance test helper settings to railties

This commit is contained in:
Pratik Naik 2008-07-15 21:07:25 +01:00
parent aca246ab25
commit b337ab0221
2 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,2 @@
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
require 'performance_test_help'

View file

@ -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