提交 c0d82ba0 编写于 作者: L Lukáš Konarovský

Use assert_equal instead of assert in uploaded file test.

上级 6ab3da62
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册