mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Federate creation of collections (#37618)
This commit is contained in:
@@ -29,6 +29,12 @@ RSpec.describe CreateCollectionService do
|
||||
expect(collection).to be_local
|
||||
end
|
||||
|
||||
it 'federates an `Add` activity', feature: :collections_federation do
|
||||
subject.call(base_params, author)
|
||||
|
||||
expect(ActivityPub::AccountRawDistributionWorker).to have_enqueued_sidekiq_job
|
||||
end
|
||||
|
||||
context 'when given account ids' do
|
||||
let(:accounts) do
|
||||
Fabricate.times(2, :account)
|
||||
|
||||
Reference in New Issue
Block a user