mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge pull request #3265 from arunagw/warning_uri_parser
URI.escape is obsolete : warning removed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user