Skip to content

Commit

Permalink
Fix obsolete URI.encode in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
marcogregorius committed Nov 21, 2022
1 parent 85b5e8e commit 51116e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/uploader/download_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
let(:test_file) { File.read(file_path(test_file_name)) }
let(:test_file_name) { "test.jpg" }
let(:unicode_named_file) { File.read(file_path(unicode_filename)) }
let(:unicode_URL) { URI.encode(base_url + "/#{unicode_filename}") }
let(:unicode_URL) { URI::DEFAULT_PARSER.escape(base_url + "/#{unicode_filename}") }
let(:unicode_filename) { "юникод.jpg" }
let(:authentication_headers) do
{
Expand Down

0 comments on commit 51116e7

Please sign in to comment.