aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/app/templates/test/performance
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-07-30 14:18:53 +0100
committerPratik Naik <pratiknaik@gmail.com>2009-07-30 14:18:53 +0100
commit915cf5747a78f28f2b25c48574031db60c3a18ae (patch)
tree048746387ddaaed418670c86451856675b8d369f /railties/lib/generators/rails/app/templates/test/performance
parent23f5e7e966defaaa1511eca57bd8de47f95cb7d9 (diff)
parentd83b1828577c268de56e1b3942e16002c9efdd57 (diff)
downloadrails-915cf5747a78f28f2b25c48574031db60c3a18ae.tar.gz
rails-915cf5747a78f28f2b25c48574031db60c3a18ae.tar.bz2
rails-915cf5747a78f28f2b25c48574031db60c3a18ae.zip
Merge commit 'mainstream/master'
Conflicts: railties/guides/source/active_support_overview.textile
Diffstat (limited to 'railties/lib/generators/rails/app/templates/test/performance')
-rw-r--r--railties/lib/generators/rails/app/templates/test/performance/browsing_test.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/railties/lib/generators/rails/app/templates/test/performance/browsing_test.rb b/railties/lib/generators/rails/app/templates/test/performance/browsing_test.rb
new file mode 100644
index 0000000000..4b60558b43
--- /dev/null
+++ b/railties/lib/generators/rails/app/templates/test/performance/browsing_test.rb
@@ -0,0 +1,9 @@
+require 'test_helper'
+require 'performance_test_help'
+
+# Profiling results for each test method are written to tmp/performance.
+class BrowsingTest < ActionController::PerformanceTest
+ def test_homepage
+ get '/'
+ end
+end