Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
Rename Activitypub to ActivityPub
This commit is contained in:
parent
aebebdc5d1
commit
f3be605286
20 changed files with 25 additions and 24 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue