diff options
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/reblog_service_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/services/reblog_service_spec.rb b/spec/services/reblog_service_spec.rb index 0ad5c5f6b..19d3bb6cb 100644 --- a/spec/services/reblog_service_spec.rb +++ b/spec/services/reblog_service_spec.rb @@ -39,6 +39,12 @@ RSpec.describe ReblogService do expect(status.reblogs.count).to eq 1 end + describe 'after_create_commit :store_uri' do + it 'keeps consistent reblog count' do + expect(status.reblogs.count).to eq 1 + end + end + it 'distributes to followers' do expect(ActivityPub::DistributionWorker).to have_received(:perform_async) end |