From d6b0d40c9e592144e8ad56dc51c6e6a18a3aa4f9 Mon Sep 17 00:00:00 2001 From: Michael van Rooijen Date: Sun, 9 Jun 2024 12:06:18 +0200 Subject: [PATCH] Add additional tests for HireFire::Macro::Resque working set --- test/hirefire/macro/test_resque.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/hirefire/macro/test_resque.rb b/test/hirefire/macro/test_resque.rb index 9e80ea1..ac80732 100644 --- a/test/hirefire/macro/test_resque.rb +++ b/test/hirefire/macro/test_resque.rb @@ -32,6 +32,8 @@ def test_job_queue_size_with_jobs def test_job_queue_size_with_working enqueue_to_working_with_queue :default, BasicJob assert_equal 1, HireFire::Macro::Resque.job_queue_size + assert_equal 1, HireFire::Macro::Resque.job_queue_size(:default) + assert_equal 0, HireFire::Macro::Resque.job_queue_size(:mailer) end def test_job_queue_size_with_scheduled_jobs