aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/components/helper/templates
diff options
context:
space:
mode:
authorEugene Bolshakov <eugene.bolshakov@gmail.com>2008-11-17 21:55:56 -0600
committerJoshua Peek <josh@joshpeek.com>2008-11-17 21:56:39 -0600
commit3c9beb3dab73013af83b90983f283b76625052b8 (patch)
treeab5c1eabfe79142bfbac484abf31157516b751b3 /railties/lib/rails_generator/generators/components/helper/templates
parentd22fe41cf87d781ce1af264b37ba3eca762b74c3 (diff)
downloadrails-3c9beb3dab73013af83b90983f283b76625052b8.tar.gz
rails-3c9beb3dab73013af83b90983f283b76625052b8.tar.bz2
rails-3c9beb3dab73013af83b90983f283b76625052b8.zip
Add helper test generators [#1199 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'railties/lib/rails_generator/generators/components/helper/templates')
-rw-r--r--railties/lib/rails_generator/generators/components/helper/templates/helper.rb2
-rw-r--r--railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb4
2 files changed, 6 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/components/helper/templates/helper.rb b/railties/lib/rails_generator/generators/components/helper/templates/helper.rb
new file mode 100644
index 0000000000..3fe2ecdc74
--- /dev/null
+++ b/railties/lib/rails_generator/generators/components/helper/templates/helper.rb
@@ -0,0 +1,2 @@
+module <%= class_name %>Helper
+end
diff --git a/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb b/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb
new file mode 100644
index 0000000000..591e40900e
--- /dev/null
+++ b/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class <%= class_name %>HelperTest < ActionView::TestCase
+end