diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/helpers/performance_test_helper.rb | 7 | ||||
-rw-r--r-- | railties/lib/performance_test_help.rb | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/railties/helpers/performance_test_helper.rb b/railties/helpers/performance_test_helper.rb index f1662fa30a..1aafc7f7e5 100644 --- a/railties/helpers/performance_test_helper.rb +++ b/railties/helpers/performance_test_helper.rb @@ -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' 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 |