From b9f4ea7198aadaeaaf6761316f0d3c96e73e4753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 13 Jul 2009 18:29:40 +0200 Subject: Add hooks for integration and performance tests. --- .../test_unit/performance/templates/performance_test.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 railties/lib/generators/test_unit/performance/templates/performance_test.rb (limited to 'railties/lib/generators/test_unit/performance/templates') 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 -- cgit v1.2.3