RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: twendlan
I'm not sure if this is the best practice. But I moved the services tests from 'test/services' to 'test/unit/services' to make them part of 'rake test:units'. This works good enough for me.
If you execute your test library with the rake command the tests in the service directory are automatically included if you are using RSpec, but not if you are using Test::Unit. Is this right?
If yes, what is the best way to auto include the tests in the service directory if you are using Test::Unit?
Thanks, Ryan! This series helped me a lot to migrate to Rails 3. It was not as easy as I thought.