mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #20176 from repinel/remove_test_unit_from_docs
[ci skip] remove unnecessary mention to Test::Unit from docs
This commit is contained in:
commit
bdc1e9c28c
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -193,7 +193,7 @@ The full set of methods that can be used in this block are as follows:
|
|||
* `scaffold_controller` different from `resource_controller`, defines which generator to use for generating a _scaffolded_ controller when using `rails generate scaffold`. Defaults to `:scaffold_controller`.
|
||||
* `stylesheets` turns on the hook for stylesheets in generators. Used in Rails for when the `scaffold` generator is run, but this hook can be used in other generates as well. Defaults to `true`.
|
||||
* `stylesheet_engine` configures the stylesheet engine (for eg. sass) to be used when generating assets. Defaults to `:css`.
|
||||
* `test_framework` defines which test framework to use. Defaults to `false` and will use Test::Unit by default.
|
||||
* `test_framework` defines which test framework to use. Defaults to `false` and will use Minitest by default.
|
||||
* `template_engine` defines which template engine to use, such as ERB or Haml. Defaults to `:erb`.
|
||||
|
||||
### Configuring Middleware
|
||||
|
|
Loading…
Reference in a new issue