Permalink
Browse files

Fix rails/generators/base.rb documentation for generator lookup

  • Loading branch information...
1 parent 5bf183c commit 1b6886adbbe001bc5557f9d6015db09a41a1b0f0 @radar radar committed with vijaydev Oct 10, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 railties/lib/rails/generators/base.rb
@@ -91,7 +91,7 @@ def self.namespace(name=nil)
#
# 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 @@ def self.namespace(name=nil)
#
# 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 @@ def self.namespace(name=nil)
#
# 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
#

0 comments on commit 1b6886a

Please sign in to comment.