diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-19 01:51:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 01:51:04 +0200 |
commit | f3be6052867343ab15cc84bc91edcaf0c1d70115 (patch) | |
tree | 2bddc48a4cf35a0684c74b22a0f78f7031b8a4b2 /spec/controllers/authorize_follows_controller_spec.rb | |
parent | aebebdc5d1967e2110a9caafc3238c8b8ec055c4 (diff) |
Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
Rename Activitypub to ActivityPub
Diffstat (limited to 'spec/controllers/authorize_follows_controller_spec.rb')
-rw-r--r-- | spec/controllers/authorize_follows_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/authorize_follows_controller_spec.rb b/spec/controllers/authorize_follows_controller_spec.rb index 1bc4eb6b7..b801aa661 100644 --- a/spec/controllers/authorize_follows_controller_spec.rb +++ b/spec/controllers/authorize_follows_controller_spec.rb @@ -30,7 +30,7 @@ describe AuthorizeFollowsController do it 'renders error when account cant be found' do service = double - allow(FollowRemoteAccountService).to receive(:new).and_return(service) + allow(ResolveRemoteAccountService).to receive(:new).and_return(service) allow(service).to receive(:call).with('missing@hostname').and_return(nil) get :show, params: { acct: 'acct:missing@hostname' } @@ -54,7 +54,7 @@ describe AuthorizeFollowsController do it 'sets account from acct uri' do account = Account.new service = double - allow(FollowRemoteAccountService).to receive(:new).and_return(service) + allow(ResolveRemoteAccountService).to receive(:new).and_return(service) allow(service).to receive(:call).with('found@hostname').and_return(account) get :show, params: { acct: 'acct:found@hostname' } |