diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-08-20 11:25:54 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-08-20 13:05:29 +0300 |
commit | 2bf8b4eb0eceb37fc278c71371a659979844dfb2 (patch) | |
tree | 0f96d2f1e6b60534a3ea0aef9967812cf1820a90 /activejob | |
parent | de4420da44ecce68a6b7607b828c69959a5f738e (diff) | |
download | rails-2bf8b4eb0eceb37fc278c71371a659979844dfb2.tar.gz rails-2bf8b4eb0eceb37fc278c71371a659979844dfb2.tar.bz2 rails-2bf8b4eb0eceb37fc278c71371a659979844dfb2.zip |
Add changelog entry about adding `:queue` option to job assertions and helpers
Note that it removes changelog entry of #33265 since the entry in this commits
includes that too.
Diffstat (limited to 'activejob')
-rw-r--r-- | activejob/CHANGELOG.md | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md index 8c4a74f739..69a5d469e4 100644 --- a/activejob/CHANGELOG.md +++ b/activejob/CHANGELOG.md @@ -1,3 +1,7 @@ +* Allow `:queue` option to job assertions and helpers. + + *bogdanvlviv* + * Allow `perform_enqueued_jobs` to be called without a block. Performs all of the jobs that have been enqueued up to this point in the test. @@ -11,19 +15,6 @@ *Zach Kemp* -* Allow `queue` option to `assert_no_enqueued_jobs`. - - Example: - ``` - def test_no_logging - assert_no_enqueued_jobs queue: 'default' do - LoggingJob.set(queue: :some_queue).perform_later - end - end - ``` - - *bogdanvlviv* - * Allow call `assert_enqueued_with` with no block. Example: |