1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use assert_equal instead of assert in uploaded file test.

This commit is contained in:
Lukáš Konarovský 2011-06-15 03:09:27 -07:00
parent 6ab3da6208
commit c0d82ba030

View file

@ -16,7 +16,7 @@ module ActionDispatch
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