This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2016-02-24 15:17:01 -08:00
|
|
|
require 'rails_helper'
|
|
|
|
|
|
|
|
RSpec.describe FollowRemoteAccountService do
|
2016-03-05 03:50:59 -08:00
|
|
|
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'
|
2016-02-24 15:17:01 -08:00
|
|
|
end
|