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

Make performance tests work again

This commit is contained in:
Pratik Naik 2009-06-25 17:02:04 +01:00
parent 3aad4d7fbe
commit 92b229e125
2 changed files with 1 additions and 16 deletions

View file

@ -1,15 +0,0 @@
require 'active_support/testing/performance'
require 'active_support/testing/default'
module ActionController
# An integration test that runs a code profiler on your test methods.
# Profiling output for combinations of each test method, measurement, and
# output format are written to your tmp/performance directory.
#
# By default, process_time is measured and both flat and graph_html output
# formats are written, so you'll have two output files per test method.
class PerformanceTest < ActionController::IntegrationTest
include ActiveSupport::Testing::Performance
include ActiveSupport::Testing::Default
end
end

View file

@ -1,4 +1,4 @@
require 'action_controller/performance_test'
require 'action_controller/testing/performance_test'
ActionController::Base.perform_caching = true
ActiveSupport::Dependencies.mechanism = :require