Handy Helper Methods Testing Domain-specific Routing for Functional Tests June 14, 2010 We've been doing some domain-specific routing lately with a Rails project, so here's a few helper methods that we use in our test environment to test these routes.First, we have a little method to set the test host's domain value. This is in... Read more