Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 44fc397c801aa09f2b5438f65ab7adb4482d58be 1 parent be01aa6
@radar radar authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 railties/lib/rails/generators/base.rb
View
6 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
#
Please sign in to comment.
Something went wrong with that request. Please try again.