aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template
diff options
context:
space:
mode:
authorEdouard CHIN <edouard.chin@shopify.com>2017-04-23 22:30:49 -0400
committerEdouard CHIN <edouard.chin@shopify.com>2017-04-23 22:30:49 -0400
commit29595387c778a2398e48756fe7ba3d0878bc073d (patch)
tree890402e6203ba08f8fbd68218de85e6861084f94 /actionview/test/template
parent0dd40fe72cfcf53b475a4084d61e9e931417c29e (diff)
downloadrails-29595387c778a2398e48756fe7ba3d0878bc073d.tar.gz
rails-29595387c778a2398e48756fe7ba3d0878bc073d.tar.bz2
rails-29595387c778a2398e48756fe7ba3d0878bc073d.zip
`sort_query_string_params` method is no more used
- This method was added in this commit https://github.com/rails/rails/commit/33258d713a4bc20b71e92fd656c923a7b189cd33 - The last caller got removed there https://github.com/rails/rails/commit/0b6ce3422370647cad3e91263a291f69b313d65b
Diffstat (limited to 'actionview/test/template')
-rw-r--r--actionview/test/template/url_helper_test.rb7
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 a6444a1686..c5c0349fb6 100644
--- a/actionview/test/template/url_helper_test.rb
+++ b/actionview/test/template/url_helper_test.rb
@@ -676,13 +676,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("&amp;").sort.join("&amp;") if qs
- qs ? "#{path}?#{qs}" : path
- end
end
class UrlHelperControllerTest < ActionController::TestCase