Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Use assert_equal instead of assert in uploaded file test. #1711

Merged
merged 1 commit into from

3 participants

@daeltar

No description provided.

@josevalim josevalim merged commit 078bdc6 into rails:master
@pixeltrix
Owner

@josevalim shouldn't these collection of commits relating to encoding the filename be backported to 3-1-stable and 3-0-stable?

@josevalim
Owner

@pixeltrix seems link a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/test/dispatch/uploaded_file_test.rb
View
2  actionpack/test/dispatch/uploaded_file_test.rb
@@ -16,7 +16,7 @@ def test_original_filename
if "ruby".encoding_aware?
def test_filename_should_be_in_utf_8
uf = Http::UploadedFile.new(:filename => 'foo', :tempfile => Object.new)
- assert "UTF-8", uf.original_filename.encoding.to_s
+ assert_equal "UTF-8", uf.original_filename.encoding.to_s
end
end
Something went wrong with that request. Please try again.