aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/test_case_test.rb
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2015-07-07 13:47:16 -0400
committerJean Boussier <jean.boussier@gmail.com>2015-12-15 13:16:54 +0100
commit4752e7d83794ecf23c6d0367f0bcad8eee33da59 (patch)
treeff8f521583023efd23f62a7e584bd69660bd9c05 /actionpack/test/controller/test_case_test.rb
parent2dd64a7bbb0cb7b65976cb0516d0f338b099a715 (diff)
downloadrails-4752e7d83794ecf23c6d0367f0bcad8eee33da59.tar.gz
rails-4752e7d83794ecf23c6d0367f0bcad8eee33da59.tar.bz2
rails-4752e7d83794ecf23c6d0367f0bcad8eee33da59.zip
Prevent ActionController::Parameters from being passed to url_for directly
Diffstat (limited to 'actionpack/test/controller/test_case_test.rb')
-rw-r--r--actionpack/test/controller/test_case_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb
index e50373a0cc..b9caddcdb7 100644
--- a/actionpack/test/controller/test_case_test.rb
+++ b/actionpack/test/controller/test_case_test.rb
@@ -172,7 +172,7 @@ XML
before_action { @dynamic_opt = 'opt' }
def test_url_options_reset
- render plain: url_for(params)
+ render plain: url_for
end
def default_url_options