From a55867fda36d56069fd87d328efbd0c15c7446fc Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 7 Oct 2019 13:07:00 +0000 Subject: [PATCH] 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 --- .rubocop_todo.yml | 1 - test/integration/issues_test.rb | 2 +- 2 files changed, 1 insertion(+), 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)