From 2bf8b4eb0eceb37fc278c71371a659979844dfb2 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Mon, 20 Aug 2018 11:25:54 +0300 Subject: 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. --- activejob/CHANGELOG.md | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'activejob') 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: -- cgit v1.2.3