summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-07 13:07:00 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-07 13:07:00 +0000
commita55867fda36d56069fd87d328efbd0c15c7446fc (patch)
tree05fc8fb1cc3a73be0edc8652125474317c19c05f
parent28c29d19a80a87b060ba7fcf76f37d4c67e1c447 (diff)
downloadredmine-a55867fda36d56069fd87d328efbd0c15c7446fc.tar.gz
redmine-a55867fda36d56069fd87d328efbd0c15c7446fc.zip
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
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--test/integration/issues_test.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index b4691ea10..987af4da7 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -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'
diff --git a/test/integration/issues_test.rb b/test/integration/issues_test.rb
index 2636df912..a2278ca11 100644
--- a/test/integration/issues_test.rb
+++ b/test/integration/issues_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)