Permalink
Browse files

Use assert_equal instead of assert in uploaded file test.

  • Loading branch information...
1 parent 6ab3da6 commit c0d82ba03018795433e7443131705cb03d7ee4c7 @daeltar daeltar committed 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 c0d82ba

Please sign in to comment.