mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-06 07:31:31 +00:00
code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/unit/mailer_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18673 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
36e0d3273d
commit
6a3d42dd69
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user