RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: szajbus
Site: http://codetunes.com
Hi Ryan,
How would you approach writing a test case for this UrlHelper?
Seems that simply calling root_url(:subdomain => "sub") in a test doesn't make it use UrlHelper's url_for at all.
Hi Ryan,
How would you approach writing a test case for this UrlHelper?
Seems that simply calling root_url(:subdomain => "sub") in a test doesn't make it use UrlHelper's url_for at all.