Re: [rspec-users] Routes helpers work differently from helper examples compared to page rendering

2009-07-04 Thread David Chelimsky
On Sat, Jul 4, 2009 at 4:40 PM, Ed Ruder wrote: > I have a helper that calls a Rails route _url method. In the context > of a helper spec file, the route helper method ends up calling url_for > in rails/actionpack/lib/action_controller/base.rb. In the context of > rendering a page, the route helper

[rspec-users] Routes helpers work differently from helper examples compared to page rendering

2009-07-04 Thread Ed Ruder
I have a helper that calls a Rails route _url method. In the context of a helper spec file, the route helper method ends up calling url_for in rails/actionpack/lib/action_controller/base.rb. In the context of rendering a page, the route helper method calls url_for in rails/ actionpack/lib/action_vi