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.

12 lines
443 B

  1. require 'rails_helper'
  2. RSpec.describe FollowRemoteAccountService do
  3. subject { FollowRemoteAccountService.new }
  4. it 'returns nil if no such user can be resolved via webfinger'
  5. it 'returns nil if the domain does not have webfinger'
  6. it 'returns nil if remote user does not offer a hub URL'
  7. it 'returns an already existing remote account'
  8. it 'returns a new remote account'
  9. it 'fills the remote account with profile information'
  10. end