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:
1 parent
3a47aedfd2
commit
e667cab364
1 file changed
+2
-2
@@ -75,7 +75,7 @@ class AttachmentTest < ActiveSupport::TestCase
|
|||||||
'description' => 'test'
|
'description' => 'test'
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
attachment = Attachment.first(:order => 'id DESC')
|
attachment = Attachment.first(:order => 'id DESC')
|
||||||
assert_equal issue, attachment.container
|
assert_equal issue, attachment.container
|
||||||
assert_equal 'testfile.txt', attachment.filename
|
assert_equal 'testfile.txt', attachment.filename
|
||||||
@@ -85,7 +85,7 @@ class AttachmentTest < ActiveSupport::TestCase
|
|||||||
assert File.exists?(attachment.diskfile)
|
assert File.exists?(attachment.diskfile)
|
||||||
assert_equal 59, File.size(attachment.diskfile)
|
assert_equal 59, File.size(attachment.diskfile)
|
||||||
end
|
end
|
||||||
|
|
||||||
should "add unsaved files to the object as unsaved attachments" do
|
should "add unsaved files to the object as unsaved attachments" do
|
||||||
# Max size of 0 to force Attachment creation failures
|
# Max size of 0 to force Attachment creation failures
|
||||||
with_settings(:attachment_max_size => 0) do
|
with_settings(:attachment_max_size => 0) do
|
||||||
|
|||||||
Reference in new issue
Block a user