aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
diff options
context:
space:
mode:
authorRyan Bigg <git@ryanbigg.com>2015-06-30 18:18:36 +1000
committerRyan Bigg <git@ryanbigg.com>2015-06-30 18:23:07 +1000
commitbe0b218c421e590f178b6d489e80dca1df24e2c5 (patch)
tree0c32e24b1cfde4e70becc06957d434d730b5ef76 /guides/source/configuring.md
parent40ff5087ec3c932d2b8f79425d8b741f7ed3f362 (diff)
downloadrails-be0b218c421e590f178b6d489e80dca1df24e2c5.tar.gz
rails-be0b218c421e590f178b6d489e80dca1df24e2c5.tar.bz2
rails-be0b218c421e590f178b6d489e80dca1df24e2c5.zip
integration_tool defaults to :test_unit
As per railties/lib/rails/test_unit/railtie.rb, where it sets it explicitly. This can be confirmed by starting a new Rails console session in a new app and running this code: Rails.application.config.app_generators.rails[:integration_tool] I also beefed up the documentation slightly to be more explicit about what this configuration setting does.
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r--guides/source/configuring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index aa66376d5d..428bd040dd 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -185,7 +185,7 @@ The full set of methods that can be used in this block are as follows:
* `assets` allows to create assets on generating a scaffold. Defaults to `true`.
* `force_plural` allows pluralized model names. Defaults to `false`.
* `helper` defines whether or not to generate helpers. Defaults to `true`.
-* `integration_tool` defines which integration tool to use. Defaults to `nil`.
+* `integration_tool` defines which integration tool to use to generate integration tests. Defaults to `:test_unit`.
* `javascripts` turns on the hook for JavaScript files in generators. Used in Rails for when the `scaffold` generator is run. Defaults to `true`.
* `javascript_engine` configures the engine to be used (for eg. coffee) when generating assets. Defaults to `nil`.
* `orm` defines which orm to use. Defaults to `false` and will use Active Record by default.