having issues testing my helpers using Test::Unit. It seems that when a helper method uses url_for (i.e. link_to) it doesn't call the modified url_for method in the UrlHelper module.
I've added
ruby
classGenericHelperTest < ActionView::TestCase
include UrlHelper
include Rails.application.routes.url_helpers
end
Hi Ryan,
having issues testing my helpers using Test::Unit. It seems that when a helper method uses url_for (i.e. link_to) it doesn't call the modified url_for method in the UrlHelper module.
I've added
but that doesn't help.
Any hint?