闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
580 B

  1. require 'rails_helper'
  2. RSpec.describe ProcessInteractionService do
  3. subject { ProcessInteractionService.new }
  4. it 'creates account for new remote user'
  5. it 'updates account for existing remote user'
  6. it 'ignores envelopes that do not address the local user'
  7. it 'accepts a status that mentions the local user'
  8. it 'accepts a status that is a reply to the local user\'s'
  9. it 'accepts a favourite to a status by the local user'
  10. it 'accepts a reblog of a status of the local user'
  11. it 'accepts a follow of the local user'
  12. it 'accepts an unfollow of the local user'
  13. end