diff options
author | Eliot Sykes <eliotsykes@gmail.com> | 2015-04-28 11:47:21 +0100 |
---|---|---|
committer | Eliot Sykes <eliotsykes@gmail.com> | 2015-04-28 11:48:53 +0100 |
commit | b0d51c1b904816439c0f5a8c86c888d8a956b005 (patch) | |
tree | dd68861d57a45cfaa3a0b06a5ed0be7abb7150f6 | |
parent | 65c29b608cbfe1a6cfb84c41d6c1d83ae0d00f78 (diff) | |
download | rails-b0d51c1b904816439c0f5a8c86c888d8a956b005.tar.gz rails-b0d51c1b904816439c0f5a8c86c888d8a956b005.tar.bz2 rails-b0d51c1b904816439c0f5a8c86c888d8a956b005.zip |
Clarify test_order default configuration behaviour [ci skip]
Explain config.active_support.test_order defaults
to :random in newly-generated applications thanks
to generated config/environments/test.rb, otherwise
default is :sorted (until Rails 5.0).
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 938ba2c89f..4da369be5e 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -524,7 +524,7 @@ There are a few configuration options available in Active Support: * `config.active_support.bare` enables or disables the loading of `active_support/all` when booting Rails. Defaults to `nil`, which means `active_support/all` is loaded. -* `config.active_support.test_order` sets the order that test cases are executed. Possible values are `:sorted` and `:random`. Currently defaults to `:sorted`. In Rails 5.0, the default will be changed to `:random` instead. +* `config.active_support.test_order` sets the order that test cases are executed. Possible values are `:random` and `:sorted`. This option is set to `:random` in `config/environments/test.rb` in newly-generated applications. If you have an application that does not specify a `test_order`, it will default to `:sorted`, *until* Rails 5.0, when the default will become `:random`. * `config.active_support.escape_html_entities_in_json` enables or disables the escaping of HTML entities in JSON serialization. Defaults to `false`. |