Rails Generate, No Tests
Rails generators do a lot of things, such as adding boilerplate (assert true
) tests.
Exclude these files with --no-test-framework
:
$ rails generate model foobar --no-test-framework
An alternative would be setting this in your app's configuration; this is the more granular approach.
Tweet