As people set out in front of me, you usually don't check routes. However, if you have something complicated, like the subdomain restrictions in the routes file that you want to make damn sure go to the right place, I would recommend (with a touch) to read my article on Testing Rails Queries .
source
share