aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
diff options
context:
space:
mode:
authorPavel Gabriel <alovak@gmail.com>2011-12-29 13:33:01 +0200
committerPavel Gabriel <alovak@gmail.com>2011-12-29 13:33:01 +0200
commit73f0588fd3d457b2191e9393f87262defb2c0af4 (patch)
treead26feb7040a7bb839a9ec87836d9f862cd35739 /railties/lib/rails/generators
parentafd9512c0b4ff98f3fec2ff9fd78d430b2ace974 (diff)
downloadrails-73f0588fd3d457b2191e9393f87262defb2c0af4.tar.gz
rails-73f0588fd3d457b2191e9393f87262defb2c0af4.tar.bz2
rails-73f0588fd3d457b2191e9393f87262defb2c0af4.zip
Fix rails/generators/base.rb documentation for hook_for
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r--railties/lib/rails/generators/base.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/base.rb b/railties/lib/rails/generators/base.rb
index af743a9c51..a98244c525 100644
--- a/railties/lib/rails/generators/base.rb
+++ b/railties/lib/rails/generators/base.rb
@@ -91,7 +91,7 @@ module Rails
#
# The lookup in this case for test_unit as input is:
#
- # "test_framework:awesome", "test_framework"
+ # "test_unit:awesome", "test_unit"
#
# Which is not the desired the lookup. You can change it by providing the
# :as option:
@@ -102,7 +102,7 @@ module Rails
#
# And now it will lookup at:
#
- # "test_framework:controller", "test_framework"
+ # "test_unit:controller", "test_unit"
#
# Similarly, if you want it to also lookup in the rails namespace, you just
# need to provide the :base value:
@@ -113,7 +113,7 @@ module Rails
#
# And the lookup is exactly the same as previously:
#
- # "rails:test_framework", "test_framework:controller", "test_framework"
+ # "rails:test_unit", "test_unit:controller", "test_unit"
#
# ==== Switches
#