diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-07-11 18:36:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-07-11 18:36:02 +0000 |
commit | a13acb785161b02ec3e06c3ce50e6718b8665d21 (patch) | |
tree | b89239420b196c576948ca57195861e161164aae /test/unit | |
parent | 01887f1e6784f899b318dc4527d3b39b1ad4cc0f (diff) | |
download | redmine-a13acb785161b02ec3e06c3ce50e6718b8665d21.tar.gz redmine-a13acb785161b02ec3e06c3ce50e6718b8665d21.zip |
Merged r11869 from trunk (#12888).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.3-stable@11999 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/mailer_test.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb index f429a3908..3fb9b701f 100644 --- a/test/unit/mailer_test.rb +++ b/test/unit/mailer_test.rb @@ -361,6 +361,17 @@ class MailerTest < ActiveSupport::TestCase assert_not_include 'someone@foo.bar', ActionMailer::Base.deliveries.last.bcc.sort end + def test_issue_edit_should_mark_private_notes + journal = Journal.find(2) + journal.private_notes = true + journal.save! + + with_settings :default_language => 'en' do + Mailer.issue_edit(journal).deliver + end + assert_mail_body_match '(Private notes)', last_email + end + def test_document_added document = Document.find(1) valid_languages.each do |lang| |