diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-06-25 17:03:04 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-06-25 17:03:07 +0100 |
commit | 97159fad6a69cc0bc6fe504e2063bb98fcf6e42d (patch) | |
tree | b0580ce383fec12bfcf9afb641c0c5dad8f359ea /actionpack | |
parent | 92b229e1251d7d3578c3f73e8185972354e76436 (diff) | |
download | rails-97159fad6a69cc0bc6fe504e2063bb98fcf6e42d.tar.gz rails-97159fad6a69cc0bc6fe504e2063bb98fcf6e42d.tar.bz2 rails-97159fad6a69cc0bc6fe504e2063bb98fcf6e42d.zip |
Missed file from the previous commit 92b229e1251d7d3578c3f73e8185972354e76436
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/testing/performance_test.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/testing/performance_test.rb b/actionpack/lib/action_controller/testing/performance_test.rb new file mode 100644 index 0000000000..d88180087d --- /dev/null +++ b/actionpack/lib/action_controller/testing/performance_test.rb @@ -0,0 +1,15 @@ +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 |