diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-10-09 15:27:35 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-10-09 15:38:14 +0530 |
commit | 2886513aea90257d69c02bf77a50884a5b2ba82b (patch) | |
tree | ab4cd206e2148600b35ea969c461e4cb70ef8242 /railties/test/application | |
parent | 2ed66feae0e04c5ab5445fe3a9d7b182b10f6f1a (diff) | |
download | rails-2886513aea90257d69c02bf77a50884a5b2ba82b.tar.gz rails-2886513aea90257d69c02bf77a50884a5b2ba82b.tar.bz2 rails-2886513aea90257d69c02bf77a50884a5b2ba82b.zip |
URI.escape is obsolete : warning removed
Diffstat (limited to 'railties/test/application')
-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 2c9ebbf327..2710498fd0 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 |