Fix: #78 検索許可のas:Limitedkmyblue:Limitedに変更

This commit is contained in:
KMY 2023-10-10 21:40:55 +09:00
parent db98ef8a44
commit 0a91a3165d
5 changed files with 24 additions and 5 deletions

View file

@ -54,6 +54,14 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do
end
context 'when limited' do
let(:searchable_by) { 'kmyblue:Limited' }
it 'searchability is limited' do
expect(subject.searchability).to eq 'limited'
end
end
context 'when limited old spec' do
let(:searchable_by) { 'as:Limited' }
it 'searchability is limited' do