I forgot to create my application with the -T argument and now it’s installed with test::unit. How do I remove test::unit and stop it from creating tests for each controller / model generated, after I have already created the application? Thank you
Share
In your config/application.rb try
In response to comment
Try
May not be the “most appropriate” or Rails-ish way, but it works
Update
I was reading the Rails Initialization Guide today and realized that the most likely reason Test::Unit is still being included is this line:
require 'rails/all'Which could be replaced with:
This should take care of the issue. If you’re using Rails 3.1.x you’d also include
if you’re planning on using the asset pipeline.
Update 2
For Rails 3.2 you should use this: