]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/LeadingCommentSpace in test/integration/issues_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 7 Oct 2019 13:07:00 +0000 (13:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 7 Oct 2019 13:07:00 +0000 (13:07 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18619 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/integration/issues_test.rb

index b4691ea10b8b618d4fc0e9a82c0b7885727a9698..987af4da71f948b821bc16417b369f3e9e8bd7a7 100644 (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'
index 2636df912d6c10d9c5f81c458294060d3aecd02f..a2278ca11a57d820ae45397b8c141bb0154efebd 100644 (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)