[Ruby on Rails] How to Skip Creating Test::Unit Files When Creating an App
In Ruby on Rails 3.2, if you want to skip creating Test::Unit files when creating an application, you can add the -T option and it will work fine.
$ rails --help
Usage:
rails new APP_PATH [options]
Options:
-T, [--skip-test-unit] # Skip Test::Unit files
This is useful when you don’t need Test::Unit, such as when using RSpec.
■ (Example) Command to create an app named codenote without Test::Unit
$ rails new codenote -T
That’s all from the Gemba.
【Reference】