]> source.dussan.org Git - redmine.git/commitdiff
Test cleanup.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 16 Dec 2016 08:49:52 +0000 (08:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 16 Dec 2016 08:49:52 +0000 (08:49 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16086 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/attachment_test.rb

index af983a211773743b2a5ea2fc03d72aa25497087f..81d7e3cbdf29f90572270cb12ec54930bc1b1206 100644 (file)
@@ -83,7 +83,6 @@ class AttachmentTest < ActiveSupport::TestCase
 
   def test_shorted_filename_if_too_long
     file = mock_file_with_options(:original_filename => "#{'a'*251}.txt")
-    assert_equal 255, file.original_filename.length
 
     a = Attachment.new(:container => Issue.find(1),
                        :file => file,