diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-01-10 12:17:57 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-01-10 12:17:57 +0100 |
commit | a7621d7d530e47a783f4a9652c20dae9eaf70d66 (patch) | |
tree | 29176880403f29056d8cc2c232b86cfc35a7773d /activejob | |
parent | ea1d3d98b1260104642c56a916abeedf07143fa9 (diff) | |
download | rails-a7621d7d530e47a783f4a9652c20dae9eaf70d66.tar.gz rails-a7621d7d530e47a783f4a9652c20dae9eaf70d66.tar.bz2 rails-a7621d7d530e47a783f4a9652c20dae9eaf70d66.zip |
formatting pass over CHANGELOGs. [ci skip]
Diffstat (limited to 'activejob')
-rw-r--r-- | activejob/CHANGELOG.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md index 829b1c719b..794d05d1b4 100644 --- a/activejob/CHANGELOG.md +++ b/activejob/CHANGELOG.md @@ -1,5 +1,7 @@ * Add `:only` option to `assert_enqueued_jobs`, to check the number of times - a specific kind of job is enqueued: + a specific kind of job is enqueued. + + Example: def test_logging_job assert_enqueued_jobs 1, only: LoggingJob do @@ -14,7 +16,9 @@ Since `ActiveJob::Base#deserialize` can be overridden by subclasses (like `ActiveJob::Base#serialize`) this allows jobs to attach arbitrary metadata - when they get serialized and read it back when they get performed. Example: + when they get serialized and read it back when they get performed. + + Example: class DeliverWebhookJob < ActiveJob::Base def serialize |