Fix: #78 検索許可のas:Limited
をkmyblue:Limited
に変更
This commit is contained in:
parent
db98ef8a44
commit
0a91a3165d
5 changed files with 24 additions and 5 deletions
|
@ -475,6 +475,17 @@ RSpec.describe ActivityPub::Activity::Create do
|
|||
end
|
||||
|
||||
context 'with limited' do
|
||||
let(:searchable_by) { 'kmyblue:Limited' }
|
||||
|
||||
it 'create status' do
|
||||
status = sender.statuses.first
|
||||
|
||||
expect(status).to_not be_nil
|
||||
expect(status.searchability).to eq 'limited'
|
||||
end
|
||||
end
|
||||
|
||||
context 'with limited old spec' do
|
||||
let(:searchable_by) { 'as:Limited' }
|
||||
|
||||
it 'create status' do
|
||||
|
@ -600,7 +611,7 @@ RSpec.describe ActivityPub::Activity::Create do
|
|||
|
||||
context 'with misskey' do
|
||||
let(:sender_software) { 'misskey' }
|
||||
let(:searchable_by) { 'as:Limited' }
|
||||
let(:searchable_by) { 'kmyblue:Limited' }
|
||||
|
||||
it 'create status' do
|
||||
status = sender.statuses.first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue