From 29595387c778a2398e48756fe7ba3d0878bc073d Mon Sep 17 00:00:00 2001 From: Edouard CHIN Date: Sun, 23 Apr 2017 22:30:49 -0400 Subject: `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 --- actionview/test/template/url_helper_test.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'actionview') 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("&").sort.join("&") if qs - qs ? "#{path}?#{qs}" : path - end end class UrlHelperControllerTest < ActionController::TestCase -- cgit v1.2.3