diff options
author | Edouard CHIN <edouard.chin@shopify.com> | 2018-11-21 22:43:14 +0100 |
---|---|---|
committer | Edouard CHIN <edouard.chin@shopify.com> | 2018-11-21 23:14:43 +0100 |
commit | cdb16ac576198607916cde6d55fe14cb775a98c9 (patch) | |
tree | 2904093cd2a45b8a3b42cbfde48f65ede86c41d7 /activejob/CHANGELOG.md | |
parent | ca0339215f07dfbb927d727b3f66701f176d0a67 (diff) | |
download | rails-cdb16ac576198607916cde6d55fe14cb775a98c9.tar.gz rails-cdb16ac576198607916cde6d55fe14cb775a98c9.tar.bz2 rails-cdb16ac576198607916cde6d55fe14cb775a98c9.zip |
Allow all ActiveJob assertion helper to accept Proc in their `only` kw:
- That feature is useful to enqueue or assert that jobs got enqueued
or performed based on dynamic conditions.
We will be able to leverage that feature to fix all ActionMailer
assertion helper issue when a Mailer define a custom delivery job
(see next commit).
Diffstat (limited to 'activejob/CHANGELOG.md')
-rw-r--r-- | activejob/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md index 8bbecd5a5a..e5cbff4a88 100644 --- a/activejob/CHANGELOG.md +++ b/activejob/CHANGELOG.md @@ -1,3 +1,8 @@ +* Allow all assertion helpers that have a `only` and `except` keyword to accept + Procs. + + *Edouard Chin* + * Restore HashWithIndifferentAccess support to ActiveJob::Arguments.deserialize. *Gannon McGibbon* |