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:
parent
6ab3da6208
commit
c0d82ba030
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue