diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-17 22:20:18 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-17 22:20:18 +0000 |
commit | 8f2221da85ca1d7a1fa08d6f81e7a6fbb711051d (patch) | |
tree | 5c9e3cd36564a400d042c40d29ba47397d4be3eb /railties/lib/rails_generator/generators/components/scaffold_resource/templates/unit_test.rb | |
parent | caa8a005202b267b75baf521d5f613f3a2bce600 (diff) | |
download | rails-8f2221da85ca1d7a1fa08d6f81e7a6fbb711051d.tar.gz rails-8f2221da85ca1d7a1fa08d6f81e7a6fbb711051d.tar.bz2 rails-8f2221da85ca1d7a1fa08d6f81e7a6fbb711051d.zip |
Work-in-progress scaffolder for resources [DHH/Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/components/scaffold_resource/templates/unit_test.rb')
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold_resource/templates/unit_test.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold_resource/templates/unit_test.rb b/railties/lib/rails_generator/generators/components/scaffold_resource/templates/unit_test.rb new file mode 100644 index 0000000000..b464de47a2 --- /dev/null +++ b/railties/lib/rails_generator/generators/components/scaffold_resource/templates/unit_test.rb @@ -0,0 +1,10 @@ +require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' + +class <%= class_name %>Test < Test::Unit::TestCase + fixtures :<%= table_name %> + + # Replace this with your real tests. + def test_truth + assert true + end +end |