Exclude:
- 'lib/diff.rb'
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
- - 'test/integration/issues_test.rb'
- 'test/unit/project_test.rb'
- 'test/unit/query_test.rb'
- 'test/unit/user_test.rb'
assert_equal 'testfile.txt', attachment.filename
assert_equal 'This is an attachment', attachment.description
# verify the size of the attachment stored in db
- #assert_equal file_data_1.length, attachment.filesize
+ assert_equal 59, attachment.filesize
# verify that the attachment was written to disk
assert File.exist?(attachment.diskfile)