summaryrefslogtreecommitdiffstats
path: root/test/unit/mailer_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-13 16:30:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-13 16:30:35 +0000
commitf953426935e87085a07940f0c86a667811a05cd1 (patch)
treef337d46c3d07a97e0da655ddf028e4a66769dc11 /test/unit/mailer_test.rb
parentb170a40ed43e522e80567ec8a7ab454cfaf765fa (diff)
downloadredmine-f953426935e87085a07940f0c86a667811a05cd1.tar.gz
redmine-f953426935e87085a07940f0c86a667811a05cd1.zip
Replaced non standard Precedence email header with "X-Auto-Response-Suppress: OOF" (#9534).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mailer_test.rb')
-rw-r--r--test/unit/mailer_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb
index 72ed1dec6..671b7df20 100644
--- a/test/unit/mailer_test.rb
+++ b/test/unit/mailer_test.rb
@@ -134,7 +134,7 @@ class MailerTest < ActiveSupport::TestCase
Mailer.deliver_issue_add(issue)
mail = ActionMailer::Base.deliveries.last
assert_not_nil mail
- assert_equal 'bulk', mail.header_string('Precedence')
+ assert_equal 'OOF', mail.header_string('X-Auto-Response-Suppress')
assert_equal 'auto-generated', mail.header_string('Auto-Submitted')
end