1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-22 02:28:31 +09:00
YuruToot/spec/services/follow_remote_account_service_spec.rb

13 lines
443 B
Ruby
Raw Normal View History

2016-02-25 08:17:01 +09:00
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'
2016-02-25 08:17:01 +09:00
end