[rspec-users] booting rails routing without a controller call
matt at mattwynne.net
Fri Sep 12 12:17:29 EDT 2008
We're getting into some quite complex routing, and I'd like to be
able to spec the routing on its own.
All our controllers tend to have a little call to like this to boot
up the routing before testing params_from etc:
However I can't get this to work in a spec that doesn't start with
Does anyone know how to get the routing loaded up without actually
calling a controller?
In case you wondered: The opinions expressed in this email are my own
and do not necessarily reflect the views of any former, current or
future employers of mine.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users