summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--test/unit/mailer_test.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index da2fda522..d350ece64 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -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.
diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb
index 7e129a4f5..486131a8f 100644
--- a/test/unit/mailer_test.rb
+++ b/test/unit/mailer_test.rb
@@ -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