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

pull/2699/head
Matt Jankowski 2024-04-19 15:44:59 -04:00 committed by GitHub
parent f386eb6c63
commit f5d341382e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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