aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/test_unit/performance/templates/performance_test.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-07-13 18:29:40 +0200
committerJosé Valim <jose.valim@gmail.com>2009-07-13 18:29:40 +0200
commitb9f4ea7198aadaeaaf6761316f0d3c96e73e4753 (patch)
tree9383bc86c63ae8fc041f26a9b1e9304ce5f639a9 /railties/lib/generators/test_unit/performance/templates/performance_test.rb
parentf68e7a3987adf2cffe0e48263d117839c2028185 (diff)
downloadrails-b9f4ea7198aadaeaaf6761316f0d3c96e73e4753.tar.gz
rails-b9f4ea7198aadaeaaf6761316f0d3c96e73e4753.tar.bz2
rails-b9f4ea7198aadaeaaf6761316f0d3c96e73e4753.zip
Add hooks for integration and performance tests.
Diffstat (limited to 'railties/lib/generators/test_unit/performance/templates/performance_test.rb')
-rw-r--r--railties/lib/generators/test_unit/performance/templates/performance_test.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/railties/lib/generators/test_unit/performance/templates/performance_test.rb b/railties/lib/generators/test_unit/performance/templates/performance_test.rb
new file mode 100644
index 0000000000..27c91b0fca
--- /dev/null
+++ b/railties/lib/generators/test_unit/performance/templates/performance_test.rb
@@ -0,0 +1,9 @@
+require 'test_helper'
+require 'performance_test_help'
+
+class <%= class_name %>Test < ActionController::PerformanceTest
+ # Replace this with your real tests.
+ def test_homepage
+ get '/'
+ end
+end