]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/unit/mailer_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 05:07:06 +0000 (05:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 05:07:06 +0000 (05:07 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18673 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/unit/mailer_test.rb

index da2fda5221fcfb891612555b95e59918017c5123..d350ece647fb85a5a4b68c8e9a2e9b321871a213 100644 (file)
@@ -128,7 +128,6 @@ Layout/EmptyLineAfterGuardClause:
 Layout/EmptyLineBetweenDefs:
   Exclude:
     - 'app/models/version.rb'
-    - 'test/unit/mailer_test.rb'
     - 'test/unit/project_test.rb'
 
 # Cop supports --auto-correct.
index 7e129a4f50f64b2fc8ac6d46bb1fac64f0a5e0b9..486131a8fa929c79d04377e299f617717c890fda 100644 (file)
@@ -266,6 +266,7 @@ class MailerTest < ActiveSupport::TestCase
     assert_match /<redmine@example\.net>/, mail.from_addrs.first
     assert_equal '[Redmine app] <redmine@example.net>', mail.header['From'].to_s
   end
+
   def test_from_header_with_author_name
     # Use the author's name or Setting.app_title as a display name
     # when Setting.mail_from does not include a display name