Skip to content

Commit

Permalink
Use assert_equal instead of assert in uploaded file test.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskonarovsky authored and dmathieu committed Jun 15, 2011
1 parent 71d7610 commit b869b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/test/dispatch/uploaded_file_test.rb
Expand Up @@ -16,7 +16,7 @@ def test_original_filename
if "ruby".encoding_aware? if "ruby".encoding_aware?
def test_filename_should_be_in_utf_8 def test_filename_should_be_in_utf_8
uf = Http::UploadedFile.new(:filename => 'foo', :tempfile => Object.new) 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
end end


Expand Down

0 comments on commit b869b8c

Please sign in to comment.