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

This commit is contained in:
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

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