Does anyone know how to disable the automatic unit test file generation in Rails? Whenever a controller, model or migration is created then it creates the associated files in the test/ directory; I need this disabled.
Also, is it possible to make RPsec take over so that the files are created with RSpec (in the spec/ directory) when a standard rails g model|controller|migration command is performed?
You want something like this in your application.rb
More info: http://guides.rubyonrails.org/generators.html#customizing-your-workflow
Personally, I use this one: