Permalink
Browse files

Use assert_equal instead of assert in uploaded file test.

  • Loading branch information...
1 parent fa55293 commit 055a88d345e85234dc01c6e0fc5a2d181bf05a0f @daeltar daeltar committed with dmathieu Jun 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 055a88d

Please sign in to comment.