mirror of https://github.com/tootsuite/mastodon
Add `any_args` to have_enqueued_sidekiq_job call (quiets deprecation) (#29999)
parent
f386eb6c63
commit
f5d341382e
|
@ -29,7 +29,7 @@ RSpec.describe RemoveFeaturedTagService do
|
||||||
expect { featured_tag.reload }
|
expect { featured_tag.reload }
|
||||||
.to raise_error(ActiveRecord::RecordNotFound)
|
.to raise_error(ActiveRecord::RecordNotFound)
|
||||||
expect(ActivityPub::AccountRawDistributionWorker)
|
expect(ActivityPub::AccountRawDistributionWorker)
|
||||||
.to_not have_enqueued_sidekiq_job
|
.to_not have_enqueued_sidekiq_job(any_args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue