diff options
Diffstat (limited to 'railties/doc')
-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. |