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:
parent
f6232a518b
commit
2ae68eef39
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue