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

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

View file

@ -53,6 +53,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