summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)