aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-01-10 12:17:57 +0100
committerYves Senn <yves.senn@gmail.com>2015-01-10 12:17:57 +0100
commita7621d7d530e47a783f4a9652c20dae9eaf70d66 (patch)
tree29176880403f29056d8cc2c232b86cfc35a7773d /activejob/CHANGELOG.md
parentea1d3d98b1260104642c56a916abeedf07143fa9 (diff)
downloadrails-a7621d7d530e47a783f4a9652c20dae9eaf70d66.tar.gz
rails-a7621d7d530e47a783f4a9652c20dae9eaf70d66.tar.bz2
rails-a7621d7d530e47a783f4a9652c20dae9eaf70d66.zip
formatting pass over CHANGELOGs. [ci skip]
Diffstat (limited to 'activejob/CHANGELOG.md')
-rw-r--r--activejob/CHANGELOG.md8
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