summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2024-04-19 15:44:59 -0400
committerGitHub <noreply@github.com>2024-04-19 19:44:59 +0000
commitf5d341382e549c00e40d6f280444de40064d910a (patch)
treeb22f4502eb71af06c75b361be4cf4b1a4ab2de8b
parentf386eb6c6300440cd96e47af4b19481d2ee2f219 (diff)
Add `any_args` to have_enqueued_sidekiq_job call (quiets deprecation) (#29999)
-rw-r--r--spec/services/remove_featured_tag_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/remove_featured_tag_service_spec.rb b/spec/services/remove_featured_tag_service_spec.rb
index 6cf5388c7fe..2f0694bc655 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