aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2015-08-15 16:33:39 -0400
committereileencodes <eileencodes@gmail.com>2015-08-15 16:33:39 -0400
commit2ae68eef39bba322fe72066c35f43b8d3477f59f (patch)
tree642799df4b7cac79ef3a12567a9c646db53627b3 /actionview
parentf6232a518bb7377948f339d2b0b25dc607e1e42a (diff)
downloadrails-2ae68eef39bba322fe72066c35f43b8d3477f59f.tar.gz
rails-2ae68eef39bba322fe72066c35f43b8d3477f59f.tar.bz2
rails-2ae68eef39bba322fe72066c35f43b8d3477f59f.zip
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.
Diffstat (limited to 'actionview')
-rw-r--r--actionview/test/template/test_case_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/test_case_test.rb b/actionview/test/template/test_case_test.rb
index 05c3dc0613..80fbaa8392 100644
--- a/actionview/test/template/test_case_test.rb
+++ b/actionview/test/template/test_case_test.rb
@@ -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