Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor change to generated perf tests

  • Loading branch information...
commit d2f3bddaebc0d52fd4df1392c87c84333612c531 1 parent b3e8123
@lifo lifo authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 railties/doc/guides/benchmarking_and_profiling/index.txt
View
6 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.
Please sign in to comment.
Something went wrong with that request. Please try again.