Permalink
Browse files

Minor change to generated perf tests

  • Loading branch information...
1 parent b3e8123 commit d2f3bddaebc0d52fd4df1392c87c84333612c531 @lifo lifo committed Oct 21, 2008
Showing with 4 additions and 2 deletions.
  1. +4 −2 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.

0 comments on commit d2f3bdd

Please sign in to comment.