diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-05-16 01:24:25 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-05-16 01:24:25 +0000 |
commit | 056fdc74d52833ac2755713e990bd9f3f9a8c415 (patch) | |
tree | 560891bc7b8c4d2b113de8e4080238a162aa67ab /railties/lib/rails_generator/generators/components/scaffold/templates/unit_test.rb | |
parent | 4f2a950ce2f29d4c6ce777d5a949440b6c2a440f (diff) | |
download | rails-056fdc74d52833ac2755713e990bd9f3f9a8c415.tar.gz rails-056fdc74d52833ac2755713e990bd9f3f9a8c415.tar.bz2 rails-056fdc74d52833ac2755713e990bd9f3f9a8c415.zip |
Scaffold resource is now scaffold
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/components/scaffold/templates/unit_test.rb')
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold/templates/unit_test.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/unit_test.rb b/railties/lib/rails_generator/generators/components/scaffold/templates/unit_test.rb new file mode 100644 index 0000000000..b464de47a2 --- /dev/null +++ b/railties/lib/rails_generator/generators/components/scaffold/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 |