Does anyone know how to disable rspec's auto generated test files on creation of a rails resource ?
I find that I usually clean out most of the default code and would rather start from a clean file every time.
Add this to your application.rb
file:
config.generators do |g|
g.controller_specs false
g.view_specs false
g.helper_specs false
g.routing_specs false
end
rails g scaffold Foo bar:string --no-helper-specs --no-view-specs