diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-04-26 21:06:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 21:06:24 -0700 |
commit | 9e08e8bbb105ceb429afd2cad8287f026f3c677e (patch) | |
tree | fb3a4937a13b804fcda1bda68bc0dbd3dd08429c | |
parent | c5663c428218fc6e1ed78fa6bbf85a88991e9bde (diff) | |
parent | 29595387c778a2398e48756fe7ba3d0878bc073d (diff) | |
download | rails-9e08e8bbb105ceb429afd2cad8287f026f3c677e.tar.gz rails-9e08e8bbb105ceb429afd2cad8287f026f3c677e.tar.bz2 rails-9e08e8bbb105ceb429afd2cad8287f026f3c677e.zip |
Merge pull request #28848 from Edouard-chin/ec-remove-unused-method
`sort_query_string_params` method is no more used
-rw-r--r-- | actionview/test/template/url_helper_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/actionview/test/template/url_helper_test.rb b/actionview/test/template/url_helper_test.rb index fc02ffb7c3..6adfa95dd1 100644 --- a/actionview/test/template/url_helper_test.rb +++ b/actionview/test/template/url_helper_test.rb @@ -682,13 +682,6 @@ class UrlHelperTest < ActiveSupport::TestCase def request_forgery_protection_token "form_token" end - - private - def sort_query_string_params(uri) - path, qs = uri.split("?") - qs = qs.split("&").sort.join("&") if qs - qs ? "#{path}?#{qs}" : path - end end class UrlHelperControllerTest < ActionController::TestCase |