From d2f3bddaebc0d52fd4df1392c87c84333612c531 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Tue, 21 Oct 2008 14:16:30 +0100 Subject: Minor change to generated perf tests --- railties/doc/guides/benchmarking_and_profiling/index.txt | 6 ++++-- 1 file 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. -- cgit v1.2.3