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:
parent
aca246ab25
commit
b337ab0221
2 changed files with 7 additions and 6 deletions
|
@ -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'
|
||||
|
|
6
railties/lib/performance_test_help.rb
Normal file
6
railties/lib/performance_test_help.rb
Normal 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
|
Loading…
Reference in a new issue