Add any_args to have_enqueued_sidekiq_job call (quiets deprecation) (#29999)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-04-19 19:44:59 +00:00
1 parent f386eb6c63
commit f5d341382e
1 file changed
+1 -1
@@ -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