Forum: Ruby on Rails RE: url_for in tests

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jonathan V. (Guest)
on 2006-01-12 10:04
(Received via mailing list)
Mmmm not really...

include ActionView::Helpers::UrlHelper
url_for(:controller => 'person', :action => 'view', :id => 1)

gives a SystemStackError (too deep), and says that @url isn't defined. Maybe
I need to set up a controller and request/response object in the same
way the functional tests do.

Sam J. (Guest)
on 2006-01-17 19:52
(Received via mailing list)
I think the patch I just sent in might fix this for you:

This topic is locked and can not be replied to.