remove trailing white-spaces from test/unit/attachment_test.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6705 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-29 00:04:31 +00:00
parent 3a47aedfd2
commit e667cab364
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ class AttachmentTest < ActiveSupport::TestCase
'description' => 'test'
})
end
attachment = Attachment.first(:order => 'id DESC')
assert_equal issue, attachment.container
assert_equal 'testfile.txt', attachment.filename
@ -85,7 +85,7 @@ class AttachmentTest < ActiveSupport::TestCase
assert File.exists?(attachment.diskfile)
assert_equal 59, File.size(attachment.diskfile)
end
should "add unsaved files to the object as unsaved attachments" do
# Max size of 0 to force Attachment creation failures
with_settings(:attachment_max_size => 0) do