1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 09:21:12 +00:00

code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/integration/issues_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@18619 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-10-07 13:07:00 +00:00
parent 28c29d19a8
commit a55867fda3
2 changed files with 1 additions and 2 deletions

View File

@ -304,7 +304,6 @@ Layout/LeadingCommentSpace:
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'

View File

@ -116,7 +116,7 @@ class IssuesTest < Redmine::IntegrationTest
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)