diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-01 22:19:15 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-01 22:19:15 +0900 |
commit | 5c421239c3cbbb587a54a18548cf734492f6341a (patch) | |
tree | 3b96b21a5363028bbc7dd5703c8bb628f7e47c93 /railties | |
parent | 4f384678b639b924b481ec4959f9b93b9d34061c (diff) | |
download | rails-5c421239c3cbbb587a54a18548cf734492f6341a.tar.gz rails-5c421239c3cbbb587a54a18548cf734492f6341a.tar.bz2 rails-5c421239c3cbbb587a54a18548cf734492f6341a.zip |
Use appropriate type for `test_framework` option
This fixes the following warning.
```
Expected string default value for '--test-framework'; got false (boolean)
```
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators.rb b/railties/lib/rails/generators.rb index 3f1bf6a5bb..8ec805370b 100644 --- a/railties/lib/rails/generators.rb +++ b/railties/lib/rails/generators.rb @@ -63,7 +63,7 @@ module Rails stylesheet_engine: :css, scaffold_stylesheet: true, system_tests: nil, - test_framework: false, + test_framework: nil, template_engine: :erb } } |