|
|
@ -65,7 +65,7 @@ RSpec.describe ActivityPub::FetchFeaturedCollectionService, type: :service do
|
|
|
|
stub_request(:get, 'https://example.com/account/pinned/3').to_return(status: 404)
|
|
|
|
stub_request(:get, 'https://example.com/account/pinned/3').to_return(status: 404)
|
|
|
|
stub_request(:get, 'https://example.com/account/pinned/4').to_return(status: 200, body: Oj.dump(status_json_4))
|
|
|
|
stub_request(:get, 'https://example.com/account/pinned/4').to_return(status: 200, body: Oj.dump(status_json_4))
|
|
|
|
|
|
|
|
|
|
|
|
subject.call(actor)
|
|
|
|
subject.call(actor, note: true, hashtag: false)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
it 'sets expected posts as pinned posts' do
|
|
|
|
it 'sets expected posts as pinned posts' do
|
|
|
|