From f5d341382e549c00e40d6f280444de40064d910a Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 19 Apr 2024 15:44:59 -0400 Subject: [PATCH] Add `any_args` to have_enqueued_sidekiq_job call (quiets deprecation) (#29999) --- spec/services/remove_featured_tag_service_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/services/remove_featured_tag_service_spec.rb b/spec/services/remove_featured_tag_service_spec.rb index 6cf5388c7f..2f0694bc65 100644 --- a/spec/services/remove_featured_tag_service_spec.rb +++ b/spec/services/remove_featured_tag_service_spec.rb @@ -29,7 +29,7 @@ RSpec.describe RemoveFeaturedTagService do expect { featured_tag.reload } .to raise_error(ActiveRecord::RecordNotFound) expect(ActivityPub::AccountRawDistributionWorker) - .to_not have_enqueued_sidekiq_job + .to_not have_enqueued_sidekiq_job(any_args) end end end