about summary refs log tree commit diff
path: root/spec/services/follow_remote_account_service_spec.rb
blob: 27df76457e8582d926d53dd4df733ebb03e576f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
require 'rails_helper'

RSpec.describe FollowRemoteAccountService do
  subject { FollowRemoteAccountService.new }

  it 'returns nil if no such user can be resolved via webfinger'
  it 'returns nil if the domain does not have webfinger'
  it 'returns nil if remote user does not offer a hub URL'
  it 'returns an already existing remote account'
  it 'returns a new remote account'
  it 'fills the remote account with profile information'
end