RailsCasts Pro episodes are now free!

Learn more or hide this

Tino's Profile

GitHub User: twendlan

Site: http://sigma7.ch

Comments by Tino

Avatar

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.

Avatar

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?

Avatar

Thanks, Ryan! This series helped me a lot to migrate to Rails 3. It was not as easy as I thought.