about summary refs log tree commit diff
path: root/spec/controllers/settings
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-06-19 01:51:04 +0200
committerGitHub <noreply@github.com>2017-06-19 01:51:04 +0200
commitf3be6052867343ab15cc84bc91edcaf0c1d70115 (patch)
tree2bddc48a4cf35a0684c74b22a0f78f7031b8a4b2 /spec/controllers/settings
parentaebebdc5d1967e2110a9caafc3238c8b8ec055c4 (diff)
Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
Rename Activitypub to ActivityPub
Diffstat (limited to 'spec/controllers/settings')
-rw-r--r--spec/controllers/settings/imports_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/settings/imports_controller_spec.rb b/spec/controllers/settings/imports_controller_spec.rb
index 8bf6aec2b..4810be701 100644
--- a/spec/controllers/settings/imports_controller_spec.rb
+++ b/spec/controllers/settings/imports_controller_spec.rb
@@ -17,7 +17,7 @@ RSpec.describe Settings::ImportsController, type: :controller do
   describe 'POST #create' do
     it 'redirects to settings path with successful following import' do
       service = double(call: nil)
-      allow(FollowRemoteAccountService).to receive(:new).and_return(service)
+      allow(ResolveRemoteAccountService).to receive(:new).and_return(service)
       post :create, params: {
         import: {
           type: 'following',
@@ -30,7 +30,7 @@ RSpec.describe Settings::ImportsController, type: :controller do
 
     it 'redirects to settings path with successful blocking import' do
       service = double(call: nil)
-      allow(FollowRemoteAccountService).to receive(:new).and_return(service)
+      allow(ResolveRemoteAccountService).to receive(:new).and_return(service)
       post :create, params: {
         import: {
           type: 'blocking',