diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-11-30 18:17:21 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-11-30 18:17:21 +0000 |
commit | b6d255559eeead2b95f6c5e4035f4b82d2b88355 (patch) | |
tree | 1ab5c368c2b61b95c130ef06b31a221777140536 /railties/lib/rails_generator/generators/components/controller/templates | |
parent | ea59e9d50a0d208cc61dc7ebe589d7e166584999 (diff) | |
download | rails-b6d255559eeead2b95f6c5e4035f4b82d2b88355.tar.gz rails-b6d255559eeead2b95f6c5e4035f4b82d2b88355.tar.bz2 rails-b6d255559eeead2b95f6c5e4035f4b82d2b88355.zip |
You dont need to explicitly declare which controller youre testing when you follow the naming convention
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/components/controller/templates')
-rw-r--r-- | railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb b/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb index 202a017a40..935beafa67 100644 --- a/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +++ b/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb @@ -1,8 +1,6 @@ require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' class <%= class_name %>ControllerTest < ActionController::TestCase - tests <%= class_name %>Controller - # Replace this with your real tests. def test_truth assert true |