Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add MailDeliveryJob for unified mail delivery | Gannon McGibbon | 2018-12-04 | 1 | -2/+2 |
| | | | | | Add `MailDeliveryJob` for delivering both regular and parameterized mail. Deprecate using `DeliveryJob` and `Parameterized::DeliveryJob`. | ||||
* | Deliver parameterized mail with DeliveryJob | Gannon McGibbon | 2018-11-22 | 1 | -9/+5 |
| | | | | | Deliver parameterized mail with `ActionMailer::DeliveryJob` and remove `ActionMailer::Parameterized::DeliveryJob`. | ||||
* | Fix ActionMailer assertion not working for mail defining delivery_job: | Edouard CHIN | 2018-11-21 | 1 | -5/+14 |
| | | | | | | | | | | | | | | | | | | | - If a Mail defines a custom delivery_job, all ActionMailer assertion helper (assert_emails, assert_enqueued_emails ...) wouldn't work. ```ruby MyMailer < ApplicationMailer self.delivery_job = MyJob end # This assertion will fail assert_emails(1) do MyMailer.my_mail.deliver_later end This PR leverage the new ActiveJob feature that accepts Procs for the `only` keyword and check if the delivery job is one of ActionMailer registered ones. | ||||
* | Fix docs of `assert_no_emails` [ci skip] | bogdanvlviv | 2018-06-29 | 1 | -1/+1 |
| | | | | `assert_no_emails` is shortcut for `assert_emails 0, &block`. | ||||
* | Merge pull request #32427 from tjschuck/small_doc_fixes | Ryuta Kamizono | 2018-04-03 | 1 | -1/+1 |
|\ | | | | | | | | | Small doc fixes [ci skip] | ||||
| * | Small doc fixes | T.J. Schuck | 2018-04-02 | 1 | -1/+1 |
| | | | | | | | | [ci skip] | ||||
* | | Doc fix added missing quote | Michael H | 2018-04-02 | 1 | -1/+1 |
|/ | |||||
* | Partly revert #32231 | bogdanvlviv | 2018-03-14 | 1 | -4/+2 |
| | | | | | | | - Remove extra execution of `perform_enqueued_jobs` since it performs all enqueued jobs in the duration of the block. - Fix example of using `assert_emails` without block since we can't use enqueued jobs in this case. | ||||
* | Perform email jobs in #assert_emails | Gannon McGibbon | 2018-03-12 | 1 | -5/+7 |
| | | | | Perform enqueued delivery jobs in #assert_emails and #assert_no_emails. | ||||
* | Add assert_enqueued_email_with to ActionMailer::TestHelper | Mikkel Malmberg | 2017-09-27 | 1 | -0/+42 |
| | |||||
* | Use frozen string literal in actionmailer/ | Kir Shatrov | 2017-07-23 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Make assert_enqueued_emails + assert_no_enqueued_emails consider ↵ | David Heinemeier Hansson | 2017-01-30 | 1 | -2/+2 |
| | | | | | | parameterized delivery jobs Needed for testing of parameterized mailers | ||||
* | applies new string literal convention in actionmailer/lib | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Fixed wording in Assertion docs, changed ‘Assert’ -> ‘Asserts’ | Ronak Jangir | 2015-10-07 | 1 | -1/+1 |
| | |||||
* | Add missing punctuation mark to all ActionMailer docs [ci skip] | amitkumarsuroliya | 2015-09-28 | 1 | -1/+1 |
| | |||||
* | `assert_emails` in block form use the given number as expected value | yuuji.yaginuma | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | Add assert_enqueued_emails and assert_no_enqueued_emails | George Claghorn | 2015-01-08 | 1 | -0/+51 |
| | |||||
* | Updated rdoc / guides / release notes related to ActiveJob / ActionMailer | Cristian Bica | 2014-08-20 | 1 | -6/+6 |
| | |||||
* | Use "Action Mailer" as canonical name in documentation [ci skip] | Zachary Scott | 2014-05-26 | 1 | -1/+1 |
| | | | | | See also: https://github.com/rails/rails/commit/3a297f8db75b172882bb3c2f9440d0c7365b8b11#commitcomment-6451708 | ||||
* | Add description of ActionMailer::TestHelper module [ci skip] | Zachary Scott | 2014-05-26 | 1 | -0/+2 |
| | |||||
* | deliver_ is an old API | Akira Matsuda | 2013-01-04 | 1 | -6/+6 |
| | |||||
* | update ActionMailer documentation [ci skip] | Francesco Rodriguez | 2012-09-17 | 1 | -1/+2 |
| | |||||
* | remove unnecessary AS::Concern usage | Sergey Nartimov | 2012-01-22 | 1 | -2/+0 |
| | |||||
* | Move ActionMailer::TC to AV::TC::Behavior | David Chelimsky | 2010-06-12 | 1 | -8/+2 |
| | | | | | | [#4843 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Handle some TODOs and deprecations. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -1/+0 |
| | |||||
* | use autoload instead of explicit requires for ActionMailer | Joshua Peek | 2008-11-23 | 1 | -0/+1 |
| | |||||
* | Add assert_emails and assert_no_emails to test the number of emails ↵ | Jeremy Kemper | 2006-11-05 | 1 | -0/+67 |
delivered. Closes #6479. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |