aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2011-04-23 13:22:15 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2011-04-23 13:22:30 +0200
commit8d7efe6a4e25b8707d46006cf20f6ce499e83780 (patch)
tree188e05d5d5befa0f66b966d35f2601ed6c7b6279 /railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb
parentaf1b48926f49226c934995c322ee017239158cf3 (diff)
downloadrails-8d7efe6a4e25b8707d46006cf20f6ce499e83780.tar.gz
rails-8d7efe6a4e25b8707d46006cf20f6ce499e83780.tar.bz2
rails-8d7efe6a4e25b8707d46006cf20f6ce499e83780.zip
Stop adding actual dummy tests (they clutter up the real ones in a new app), just show how its done
Diffstat (limited to 'railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb')
-rw-r--r--railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb b/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb
index 11a73ebad7..0bc5fd8ca2 100644
--- a/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb
+++ b/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb
@@ -3,10 +3,9 @@ require 'test_helper'
<% module_namespacing do -%>
class <%= class_name %>ControllerTest < ActionController::TestCase
<% if actions.empty? -%>
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
+ # test "the truth" do
+ # assert true
+ # end
<% else -%>
<% for action in actions -%>
test "should get <%= action %>" do