Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
Rename Activitypub to ActivityPubmain
parent
aebebdc5d1
commit
f3be605286
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class FollowRemoteAccountService < BaseService
|
||||
class ResolveRemoteAccountService < BaseService
|
||||
include OStatus2::MagicKey
|
||||
include HttpHelper
|
||||
|
@ -1,3 +1,3 @@
|
||||
extends 'activitypub/intransient.activitystreams2.rabl'
|
||||
|
||||
node(:type) { 'Collection' }
|
||||
node(:type) { 'Collection' }
|
||||
|
@ -1,3 +1,3 @@
|
||||
extends 'activitypub/types/ordered_collection.activitystreams2.rabl'
|
||||
|
||||
node(:type) { 'OrderedCollectionPage' }
|
||||
node(:type) { 'OrderedCollectionPage' }
|
||||
|
@ -1,7 +1,7 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe FollowRemoteAccountService do
|
||||
subject { FollowRemoteAccountService.new }
|
||||
RSpec.describe ResolveRemoteAccountService do
|
||||
subject { ResolveRemoteAccountService.new }
|
||||
|
||||
before do
|
||||
stub_request(:get, "https://quitter.no/.well-known/host-meta").to_return(request_fixture('.host-meta.txt'))
|
Loading…
Reference in new issue