public
Description: Behaviour Driven Development framework for Ruby
Home | Edit | New

RSpec route_for & params_from with Nested Routes & Custom Methods

In my app I had nested routes with custom methods that used an HTTP PUT. It took me a while to figure out how to get the route_for and params_from working correctly with those. In case anyone else hits a similar problem, I posted a write up:

http://stevechanin.blogspot.com/2009/06/rspec-routefor-params-from-with-nested.html

Last edited by stevenchanin, Tue Jun 09 10:22:31 -0700 2009
Home | Edit | New
Versions: