]> source.dussan.org Git - redmine.git/commitdiff
remove trailing white-spaces from test/unit/attachment_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 4 Dec 2013 07:09:17 +0000 (07:09 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 4 Dec 2013 07:09:17 +0000 (07:09 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12356 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/attachment_test.rb

index a038042cbcf053eee84538eb0aa758dbb1d5e8be..c9100f3d0e75fd98cb52e2024e2c2a4849d5f550 100644 (file)
@@ -22,10 +22,10 @@ require File.expand_path('../../test_helper', __FILE__)
 class AttachmentTest < ActiveSupport::TestCase
   fixtures :users, :projects, :roles, :members, :member_roles,
            :enabled_modules, :issues, :trackers, :attachments
-  
+
   class MockFile
     attr_reader :original_filename, :content_type, :content, :size
-    
+
     def initialize(attributes)
       @original_filename = attributes[:original_filename]
       @content_type = attributes[:content_type]
@@ -153,12 +153,12 @@ class AttachmentTest < ActiveSupport::TestCase
                             :author => User.find(1))
     assert a1.disk_filename != a2.disk_filename
   end
-  
+
   def test_filename_should_be_basenamed
     a = Attachment.new(:file => MockFile.new(:original_filename => "path/to/the/file"))
     assert_equal 'file', a.filename
   end
-  
+
   def test_filename_should_be_sanitized
     a = Attachment.new(:file => MockFile.new(:original_filename => "valid:[] invalid:?%*|\"'<>chars"))
     assert_equal 'valid_[] invalid_chars', a.filename