diff options
Diffstat (limited to 'spec/services/follow_remote_account_service_spec.rb')
-rw-r--r-- | spec/services/follow_remote_account_service_spec.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/spec/services/follow_remote_account_service_spec.rb b/spec/services/follow_remote_account_service_spec.rb index fbe7e767a..27df76457 100644 --- a/spec/services/follow_remote_account_service_spec.rb +++ b/spec/services/follow_remote_account_service_spec.rb @@ -1,5 +1,12 @@ require 'rails_helper' RSpec.describe FollowRemoteAccountService do - pending + 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 |