We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df90e8e + b9a64a2 commit 86312f5Copy full SHA for 86312f5
railties/test/application/sprockets_assets_test.rb
@@ -348,7 +348,7 @@ class User < ActiveRecord::Base; raise 'should not be reached'; end
348
# Load app env
349
app "development"
350
351
- get "/assets/#{URI::DEFAULT_PARSER.escape(asset_path)}"
+ get "/assets/#{URI::RFC2396_PARSER.escape(asset_path)}"
352
assert_match "not an image really", last_response.body
353
assert_file_exists("#{app_path}/public/assets/#{asset_path}")
354
end
0 commit comments