aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/base.rb
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2011-10-10 20:10:35 +1100
committerRyan Bigg <radarlistener@gmail.com>2011-10-10 21:04:26 +1100
commit44fc397c801aa09f2b5438f65ab7adb4482d58be (patch)
tree454f23f89a0f370c481ac4fc4d60b439a13acfd0 /railties/lib/rails/generators/base.rb
parentbe01aa6c9b4adb4f95b2c86b13959d1bab16bc58 (diff)
downloadrails-44fc397c801aa09f2b5438f65ab7adb4482d58be.tar.gz
rails-44fc397c801aa09f2b5438f65ab7adb4482d58be.tar.bz2
rails-44fc397c801aa09f2b5438f65ab7adb4482d58be.zip
Fix rails/generators/base.rb documentation for generator lookup
Diffstat (limited to 'railties/lib/rails/generators/base.rb')
-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 b9dc31457a..911f80cf3a 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_unit:awesome", "test_unit"
+ # "test_framework:awesome", "test_framework"
#
# 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_unit:controller", "test_unit"
+ # "test_framework:controller", "test_framework"
#
# 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_unit", "test_unit:controller", "test_unit"
+ # "rails:test_framework", "test_framework:controller", "test_framework"
#
# ==== Switches
#