Testing Legacy Rails Code
Switching to Test-Driven Development (TDD) on an existing project without tests presents special challenges. Code could be a tangled mess of dependencies that defeats the very concept of unit testing. Or somebody attempted TDD in the past and you have a test suite that needs to be fixed before any …