This commit is contained in:
KMY 2023-11-28 12:35:54 +09:00
parent c95231d853
commit b22513ca07

View file

@ -30,9 +30,8 @@ describe ActivityPub::DistributionWorker do
end end
it 'delivers to followers' do it 'delivers to followers' do
expect_push_bulk_to_match(ActivityPub::DeliveryWorker, [[kind_of(String), status.account.id, 'http://example.com', anything]]) do expect_push_bulk_to_match(ActivityPub::DeliveryWorker, [[kind_of(String), status.account.id, 'http://example.com', anything]])
subject.perform(status.id) subject.perform(status.id)
end
end end
end end
@ -55,9 +54,8 @@ describe ActivityPub::DistributionWorker do
end end
it 'delivers to followers' do it 'delivers to followers' do
expect_push_bulk_to_match(ActivityPub::DeliveryWorker, [[kind_of(String), status.account.id, 'http://example.com/follower/inbox', anything]]) do expect_push_bulk_to_match(ActivityPub::DeliveryWorker, [[kind_of(String), status.account.id, 'http://example.com/follower/inbox', anything]])
subject.perform(status.id) subject.perform(status.id)
end
end end
end end