summaryrefslogtreecommitdiffstats
path: root/test/unit/attachment_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 00:04:31 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-29 00:04:31 +0000
commite667cab3640179d43b4c09e81d8b42ddce9b3c30 (patch)
tree9c1140445da441b0593762ebebcc1fc7df8609e8 /test/unit/attachment_test.rb
parent3a47aedfd2e00d8a33cdde9e3e064fd41374c060 (diff)
downloadredmine-e667cab3640179d43b4c09e81d8b42ddce9b3c30.tar.gz
redmine-e667cab3640179d43b4c09e81d8b42ddce9b3c30.zip
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
Diffstat (limited to 'test/unit/attachment_test.rb')
-rw-r--r--test/unit/attachment_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb
index d433ae757..0572b05cf 100644
--- a/test/unit/attachment_test.rb
+++ b/test/unit/attachment_test.rb
@@ -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