aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/inflector/methods.rb
diff options
context:
space:
mode:
authorRoque Pinel <repinel@gmail.com>2015-05-16 21:44:22 -0400
committerRoque Pinel <repinel@gmail.com>2015-05-16 21:44:22 -0400
commitbea8f7c057747cdc68fdc4204998f2f12c938633 (patch)
tree44910fa60f73faabae0c72c22abde3b1ce13f85c /activesupport/lib/active_support/inflector/methods.rb
parent50999974e80ee9ddf3d81c3b9733f84f5646705c (diff)
downloadrails-bea8f7c057747cdc68fdc4204998f2f12c938633.tar.gz
rails-bea8f7c057747cdc68fdc4204998f2f12c938633.tar.bz2
rails-bea8f7c057747cdc68fdc4204998f2f12c938633.zip
[ci skip] remove unnecessary mention to Test::Unit from docs
Fix the guide to state that Rails uses Minitest as the default test framework. Remove unnecessary mention to Test::Unit from the API docs ('constantize' and 'safe_constantize').
Diffstat (limited to 'activesupport/lib/active_support/inflector/methods.rb')
-rw-r--r--activesupport/lib/active_support/inflector/methods.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/inflector/methods.rb b/activesupport/lib/active_support/inflector/methods.rb
index a08c655d69..bde70d772d 100644
--- a/activesupport/lib/active_support/inflector/methods.rb
+++ b/activesupport/lib/active_support/inflector/methods.rb
@@ -231,8 +231,8 @@ module ActiveSupport
# Tries to find a constant with the name specified in the argument string.
#
- # 'Module'.constantize # => Module
- # 'Test::Unit'.constantize # => Test::Unit
+ # 'Module'.constantize # => Module
+ # 'Foo::Bar'.constantize # => Foo::Bar
#
# The name is assumed to be the one of a top-level constant, no matter
# whether it starts with "::" or not. No lexical context is taken into
@@ -280,8 +280,8 @@ module ActiveSupport
# Tries to find a constant with the name specified in the argument string.
#
- # safe_constantize('Module') # => Module
- # safe_constantize('Test::Unit') # => Test::Unit
+ # safe_constantize('Module') # => Module
+ # safe_constantize('Foo::Bar') # => Foo::Bar
#
# The name is assumed to be the one of a top-level constant, no matter
# whether it starts with "::" or not. No lexical context is taken into