##// END OF EJS Templates
remove trailing white-spaces from test/unit/attachment_test.rb....
Toshi MARUYAMA -
r6585:e667cab36401
parent child
Show More
@@ -75,7 +75,7 class AttachmentTest < ActiveSupport::TestCase
75 75 'description' => 'test'
76 76 })
77 77 end
78
78
79 79 attachment = Attachment.first(:order => 'id DESC')
80 80 assert_equal issue, attachment.container
81 81 assert_equal 'testfile.txt', attachment.filename
@@ -85,7 +85,7 class AttachmentTest < ActiveSupport::TestCase
85 85 assert File.exists?(attachment.diskfile)
86 86 assert_equal 59, File.size(attachment.diskfile)
87 87 end
88
88
89 89 should "add unsaved files to the object as unsaved attachments" do
90 90 # Max size of 0 to force Attachment creation failures
91 91 with_settings(:attachment_max_size => 0) do
General Comments 0
You need to be logged in to leave comments. Login now