I use minitest_rails as a testing platform, and you can set some default values ββthrough the config / application.rb file.
config.generators do |g| g.test_framework :mini_test, :spec => true, :fixture => false end
When you create a model (and controller), it now automatically skips the instrument. In this example, Unit Test will also be created using the minitest_spec format.
source share