summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-08-12 07:46:58 +0000
committerGo MAEDA <maeda@farend.jp>2024-08-12 07:46:58 +0000
commit74e2262efb366a37a70f64dc0faec2d63086b9e5 (patch)
tree6c729c11c116119d777e2ba00fb568f529079e78 /test/unit
parentde76bb3a4a00146f8d53dbc25f2e90ca99910a22 (diff)
downloadredmine-74e2262efb366a37a70f64dc0faec2d63086b9e5.tar.gz
redmine-74e2262efb366a37a70f64dc0faec2d63086b9e5.zip
Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/attachment_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb
index b88350fba..b3e813be1 100644
--- a/test/unit/attachment_test.rb
+++ b/test/unit/attachment_test.rb
@@ -80,7 +80,6 @@ class AttachmentTest < ActiveSupport::TestCase
end
def test_copy_should_preserve_attributes
-
# prevent re-use of data from other attachments with equal contents
Attachment.where('id <> 1').destroy_all