diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-08-16 12:57:14 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-16 12:57:14 +0900 |
commit | 239a5af29f57330f468b19e1a8cb7b2c14836116 (patch) | |
tree | a7509d0366f1123c6a74b7b0453afe9c9525262a /activesupport/test | |
parent | f6bbbb9f29dfdc36cef25ae911041eb01bd4369e (diff) | |
parent | 0e0261b52e54ffcf9757819d41c85a314d64770c (diff) | |
download | rails-239a5af29f57330f468b19e1a8cb7b2c14836116.tar.gz rails-239a5af29f57330f468b19e1a8cb7b2c14836116.tar.bz2 rails-239a5af29f57330f468b19e1a8cb7b2c14836116.zip |
Merge pull request #33627 from vbrazo/fixtures/fix-obsolete-methods
Fix obsoleted method URI.unescape in activesupport/test
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/object/to_query_test.rb | 2 |
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 |