1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

params already has a setted controller and action here

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
Santiago Pastorino 2010-04-21 21:30:23 -03:00 committed by Jeremy Kemper
parent 5c9c30ac65
commit a8330c2006

View file

@ -422,7 +422,6 @@ class UrlHelperControllerTest < ActionController::TestCase
end
def show_overriden_url_for
params = { :controller => 'c', :action => 'a' }
render :inline => "<%= url_for params.merge(:controller => 'url_helper_controller_test/url_helper', :action => 'show_url_for') %>"
end