diff options
author | David Yip <yipdw@member.fsf.org> | 2017-10-16 01:29:02 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-10-16 01:29:02 -0500 |
commit | 6cd5b3bbe5a11fcf25bbefba2803f2ae840f39fc (patch) | |
tree | 4bb60f4493fb70cada728a373f74c18b87e8f95d /spec/services | |
parent | f72ad67a3967230afd63a9e2d84a2a69331c4787 (diff) | |
parent | 894da3dcca781e27ce9c5130f1021526ac8a6887 (diff) |
Merge remote-tracking branch 'origin/master' into gs-master
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 |