summaryrefslogtreecommitdiffstats
path: root/test/unit/mailer_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed that links for relations in notifications do not include hostname ↵Jean-Philippe Lang2013-12-151-0/+10
| | | | | | (#15677). git-svn-id: http://svn.redmine.org/redmine/trunk@12415 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that the mail method should return a Mail::Message (#15113).Jean-Philippe Lang2013-10-131-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12210 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that standard fields disabled still appear in email notifications ↵Jean-Philippe Lang2013-08-051-0/+23
| | | | | | (#14584). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12079 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't notify users about relations that are not visible (#1005).Jean-Philippe Lang2013-07-131-0/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12015 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Role-based issue custom field visibility (#5037).Jean-Philippe Lang2013-07-131-30/+32
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Log email delivery errors (#14403).Jean-Philippe Lang2013-07-131-0/+23
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12010 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds markings to emails generated by private comments (#12888).Jean-Philippe Lang2013-05-181-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11869 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that locking and unlocking a user resets the email notification ↵Jean-Philippe Lang2013-05-131-3/+3
| | | | | | checkbox (#14020). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11839 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix test name (#13482)Toshi MARUYAMA2013-04-181-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11722 e93f8b46-1217-0410-a6f0-8f06a7374b81
* not add empty header/footer to notification emails (#13482)Toshi MARUYAMA2013-04-181-0/+26
| | | | | | Contributed by Max Horn. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11721 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add mail footer test (#13482)Toshi MARUYAMA2013-04-181-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* extend mail header test to text mail (#13482)Toshi MARUYAMA2013-04-181-4/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11719 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removing shoulda context.Jean-Philippe Lang2013-02-031-34/+30
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11315 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces find(:first) calls.Jean-Philippe Lang2012-12-031-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that watchers receive notifications for private comments without ↵Jean-Philippe Lang2012-11-051-0/+15
| | | | | | permission (#12286). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Private issue notes (#1554).Jean-Philippe Lang2012-10-031-0/+14
| | | | | | Adds 2 new permissions for viewing/adding private comments to issues. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10547 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that the reminder email excludes issues assigned to groups (#11723).Jean-Philippe Lang2012-09-091-0/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10335 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 3.2.8 (#11758).Jean-Philippe Lang2012-09-021-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10275 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that text email templates are escaped (#11355).Jean-Philippe Lang2012-08-131-1/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10205 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Link is escaped in wiki added/updated notification email (#11262).Jean-Philippe Lang2012-06-261-0/+10
| | | | | | Patch by Łukasz Jachymczyk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9896 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restored List-Id header in email notifications (#10888).Jean-Philippe Lang2012-05-131-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace Mailer deliver syntax to Rails3 styleToshi MARUYAMA2012-05-051-37/+37
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* move unit mailer test last_email method to the bottom and change to privateToshi MARUYAMA2012-05-051-6/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9635 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixture to test/unit/mailer_test.rbToshi MARUYAMA2012-05-051-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9634 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from test/unit/mailer_test.rbToshi MARUYAMA2012-05-011-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9602 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-251-22/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds helpers for testing email body.Jean-Philippe Lang2012-03-041-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9086 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renamed Mailer#test to Mailer#test_email.Jean-Philippe Lang2012-03-041-5/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9080 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed some generate! calls.Jean-Philippe Lang2012-03-041-2/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9078 e93f8b46-1217-0410-a6f0-8f06a7374b81
* back out from r9031 to r9036Toshi MARUYAMA2012-03-011-3/+3
| | | | | | | On Rails3, 'to_s' is not alias of 'encoded'. 'to_s' is alias of 'decoded'. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9037 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: test: add .to_s for mail's bodies check at unit/mailer_test.rbToshi MARUYAMA2012-03-011-3/+3
| | | | | | | On Rails3, mail's bodies must be checked calling 'encoded'. 'to_s' is alias of 'encoded' of Mail::Message of Rails3. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9036 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed potential test failure.Jean-Philippe Lang2012-02-281-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9028 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Override @#url_for@ in AM to force generation of absolute links (#10251).Etienne Massip2012-02-271-61/+84
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9022 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not do assertions on mail class.Jean-Philippe Lang2012-02-251-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use English as default language at ↵Toshi MARUYAMA2012-02-221-7/+11
| | | | | | | | | | | | | | "test_reminders_should_not_include_closed_issues" of unit mailer test On Rails 3.1.3, test fails and output is not English. <pre> Error: test_reminders_should_not_include_closed_issues(MailerTest) ActiveRecord::RecordInvalid: Validation failed: Tracker non è incluso nella lista test/unit/mailer_test.rb:459:in `test_reminders_should_not_include_closed_issues' </pre> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8918 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use assert_select instead of include? at "test_register" of unit mailer testToshi MARUYAMA2012-02-201-1/+5
| | | | | | | On Rails 3.0.11, token breaks with new line. So, test fails. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8916 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a X-Redmine-Sender header to email notifications (#5643).Jean-Philippe Lang2012-02-051-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8785 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that reminders are sent for closed issues (#10006).Jean-Philippe Lang2012-01-211-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8690 e93f8b46-1217-0410-a6f0-8f06a7374b81
* test: replace should "include the emails_header" at unit mailer test to ↵Toshi MARUYAMA2012-01-021-9/+6
| | | | | | Rails standard test suite git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8469 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes the link in an issue update notification point to the change (#9690).Jean-Philippe Lang2011-12-021-3/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8030 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: TMail 1.2.7 malforms To header when number of recipients more then 8 ↵Jean-Philippe Lang2011-11-201-0/+8
| | | | | | (#8751). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Additional tests for email From header (#9564).Jean-Philippe Lang2011-11-141-1/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7807 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced non standard Precedence email header with ↵Jean-Philippe Lang2011-11-131-1/+1
| | | | | | "X-Auto-Response-Suppress: OOF" (#9534). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test_reply_posted_message_id at test/unit/mailer_test.rbToshi MARUYAMA2011-09-241-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7502 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test_message_posted_message_id at ↵Toshi MARUYAMA2011-09-241-1/+3
| | | | | | test/unit/mailer_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7501 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of ↵Toshi MARUYAMA2011-09-241-3/+11
| | | | | | test_generated_links_with_prefix_and_no_relative_url_root at test/unit/mailer_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7500 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test_generated_links_with_prefix at ↵Toshi MARUYAMA2011-09-241-3/+11
| | | | | | test/unit/mailer_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7499 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test_generated_links_in_emails at ↵Toshi MARUYAMA2011-09-241-3/+11
| | | | | | test/unit/mailer_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7498 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails3: replace "all" fixtures at test/unit/mailer_test.rbToshi MARUYAMA2011-09-241-1/+7
| | | | | | | Following error raises. Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7497 e93f8b46-1217-0410-a6f0-8f06a7374b81