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:
parent
28c29d19a8
commit
a55867fda3
@ -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'
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user