diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-10-10 04:34:22 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-10-10 04:34:22 -0700 |
commit | b27ca99b7bd35a7f8e79475c8ea4a1b0bbf5fd11 (patch) | |
tree | e1278ca23893018f15df5c3ef64e7ac10f6d9ecf /railties | |
parent | c3c157141c2c1120c6e02eb8f74d47d7785f9eba (diff) | |
parent | 2886513aea90257d69c02bf77a50884a5b2ba82b (diff) | |
download | rails-b27ca99b7bd35a7f8e79475c8ea4a1b0bbf5fd11.tar.gz rails-b27ca99b7bd35a7f8e79475c8ea4a1b0bbf5fd11.tar.bz2 rails-b27ca99b7bd35a7f8e79475c8ea4a1b0bbf5fd11.zip |
Merge pull request #3265 from arunagw/warning_uri_parser
URI.escape is obsolete : warning removed
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/application/assets_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/assets_test.rb b/railties/test/application/assets_test.rb index d4168ac090..d4ffbe3d66 100644 --- a/railties/test/application/assets_test.rb +++ b/railties/test/application/assets_test.rb @@ -296,7 +296,7 @@ module ApplicationTests precompile! require "#{app_path}/config/environment" - get "/assets/#{URI.escape(filename)}" + get "/assets/#{URI.parser.escape(filename)}" assert_match "not a image really", last_response.body assert File.exists?("#{app_path}/public/assets/#{filename}") end |