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