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

Fix test assign_parameter method signature

Oops, I broke the build :(

Fixes the method signature of `assign_parameters` which now takes 6
arguments instead of 4. We likely will end up chaning the method
signature further so good to know this test is here.
This commit is contained in:
eileencodes 2015-08-15 16:33:39 -04:00
parent f6232a518b
commit 2ae68eef39

View file

@ -209,7 +209,7 @@ module ActionView
end
test "is able to use routes" do
controller.request.assign_parameters(@routes, 'foo', 'index')
controller.request.assign_parameters(@routes, 'foo', 'index', {}, '/foo', [])
assert_equal '/foo', url_for
assert_equal '/bar', url_for(:controller => 'bar')
end