From 2ec60fb8186ad3b227341b7d1874e3f13bd34279 Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Thu, 16 Aug 2018 22:38:35 +0300 Subject: Allow `assert_performed_with` to be called without a block. Example: ``` def test_assert_performed_with MyJob.perform_later(1,2,3) perform_enqueued_jobs assert_performed_with(job: MyJob, args: [1,2,3], queue: 'high') end ``` Follow up #33626. --- activejob/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activejob/CHANGELOG.md') diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md index 0b440e5056..2417ea3a87 100644 --- a/activejob/CHANGELOG.md +++ b/activejob/CHANGELOG.md @@ -1,3 +1,7 @@ +* Allow `assert_performed_with` to be called without a block. + + *bogdanvlviv* + * Execution of `assert_performed_jobs`, and `assert_no_performed_jobs` without a block should respect passed `:except`, `:only`, and `:queue` options. -- cgit v1.2.3