aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorVitor Oliveira <vbrazo@gmail.com>2018-08-15 18:00:45 -0300
committerVitor Oliveira <vbrazo@gmail.com>2018-08-15 18:00:45 -0300
commit0e0261b52e54ffcf9757819d41c85a314d64770c (patch)
tree602faaafec22e0c2e5fcfab90eb0d33658bff18f /activesupport/test
parent977d77e9e250a323f64785042d9ad8412368c19a (diff)
downloadrails-0e0261b52e54ffcf9757819d41c85a314d64770c.tar.gz
rails-0e0261b52e54ffcf9757819d41c85a314d64770c.tar.bz2
rails-0e0261b52e54ffcf9757819d41c85a314d64770c.zip
Fix obsoleted method URI.unescape in activesupport/test
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/core_ext/object/to_query_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/object/to_query_test.rb b/activesupport/test/core_ext/object/to_query_test.rb
index b0b7ef0913..561dadbbcf 100644
--- a/activesupport/test/core_ext/object/to_query_test.rb
+++ b/activesupport/test/core_ext/object/to_query_test.rb
@@ -88,7 +88,7 @@ class ToQueryTest < ActiveSupport::TestCase
}
expected = "foo[contents][][name]=gorby&foo[contents][][id]=123&foo[contents][][name]=puff&foo[contents][][d]=true"
- assert_equal expected, URI.decode(params.to_query)
+ assert_equal expected, URI.decode_www_form_component(params.to_query)
end
private