aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/source/benchmarking_and_profiling/index.txt
diff options
context:
space:
mode:
Diffstat (limited to 'railties/doc/guides/source/benchmarking_and_profiling/index.txt')
-rw-r--r--railties/doc/guides/source/benchmarking_and_profiling/index.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/doc/guides/source/benchmarking_and_profiling/index.txt b/railties/doc/guides/source/benchmarking_and_profiling/index.txt
index 15bf7f6a20..ef45ff62c6 100644
--- a/railties/doc/guides/source/benchmarking_and_profiling/index.txt
+++ b/railties/doc/guides/source/benchmarking_and_profiling/index.txt
@@ -204,11 +204,12 @@ Rails provides a simple generator for creating new performance tests:
[source, shell]
----------------------------------------------------------------------------
-[User profiling_tester (master)]$ script/generate performance_test homepage
+[lifo@null application (master)]$ script/generate performance_test homepage
----------------------------------------------------------------------------
This will generate +test/performance/homepage_test.rb+:
+[source, ruby]
----------------------------------------------------------------------------
require 'test_helper'
require 'performance_test_help'