diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2014-08-03 14:50:50 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2014-08-03 14:50:50 -0700 |
commit | a34b6649d061977026db7124d834faccdf5bd8ef (patch) | |
tree | 2ad68f05ac3b923dac1084d2940d4daa776742e2 /railties/lib/rails/generators/rails | |
parent | cadc8a0dfce85a10fecb3c366f8d847c189c36da (diff) | |
download | rails-a34b6649d061977026db7124d834faccdf5bd8ef.tar.gz rails-a34b6649d061977026db7124d834faccdf5bd8ef.tar.bz2 rails-a34b6649d061977026db7124d834faccdf5bd8ef.zip |
Generating stubs for helper tests is overly specific. Most helpers should simply be tested as part of the view thats using them. If you need something beyond that, you can add a test yourself for them
Diffstat (limited to 'railties/lib/rails/generators/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/helper/helper_generator.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/helper/helper_generator.rb b/railties/lib/rails/generators/rails/helper/helper_generator.rb index 5ff38e4111..419607839a 100644 --- a/railties/lib/rails/generators/rails/helper/helper_generator.rb +++ b/railties/lib/rails/generators/rails/helper/helper_generator.rb @@ -6,8 +6,6 @@ module Rails def create_helper_files template 'helper.rb', File.join('app/helpers', class_path, "#{file_name}_helper.rb") end - - hook_for :test_framework end end end |