diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-10-21 14:16:30 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-10-21 14:16:46 +0100 |
commit | d2f3bddaebc0d52fd4df1392c87c84333612c531 (patch) | |
tree | b9da4c3fc0801a68830a4bbbc3d2899f0e9618a5 | |
parent | b3e812393e8591509425a3d0259e117d5c8ed32b (diff) | |
download | rails-d2f3bddaebc0d52fd4df1392c87c84333612c531.tar.gz rails-d2f3bddaebc0d52fd4df1392c87c84333612c531.tar.bz2 rails-d2f3bddaebc0d52fd4df1392c87c84333612c531.zip |
Minor change to generated perf tests
-rw-r--r-- | railties/doc/guides/benchmarking_and_profiling/index.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/railties/doc/guides/benchmarking_and_profiling/index.txt b/railties/doc/guides/benchmarking_and_profiling/index.txt index 0ba2660ebe..15bf7f6a20 100644 --- a/railties/doc/guides/benchmarking_and_profiling/index.txt +++ b/railties/doc/guides/benchmarking_and_profiling/index.txt @@ -91,7 +91,8 @@ If you have a look at +test/performance/browsing_test.rb+ in a newly created Rai [source, ruby] ---------------------------------------------------------------------------- -require 'performance/test_helper' +require 'test_helper' +require 'performance_test_help' # Profiling results for each test method are written to tmp/performance. class BrowsingTest < ActionController::PerformanceTest @@ -209,7 +210,8 @@ Rails provides a simple generator for creating new performance tests: This will generate +test/performance/homepage_test.rb+: ---------------------------------------------------------------------------- -require 'performance/test_helper' +require 'test_helper' +require 'performance_test_help' class HomepageTest < ActionController::PerformanceTest # Replace this with your real tests. |