Add account domain block test partically
This commit is contained in:
parent
c0c2eef1c7
commit
53fc503910
1 changed files with 13 additions and 0 deletions
|
@ -54,4 +54,17 @@ RSpec.describe ActivityPub::Activity::Like do
|
|||
expect(sender.favourited?(status)).to be false
|
||||
end
|
||||
end
|
||||
|
||||
describe '#perform when account domain_block' do
|
||||
subject { described_class.new(json, sender) }
|
||||
|
||||
before do
|
||||
Fabricate(:account_domain_block, account: recipient, domain: 'example.com')
|
||||
subject.perform
|
||||
end
|
||||
|
||||
it 'does not create a favourite from sender to status', pending: 'considering spec' do
|
||||
expect(sender.favourited?(status)).to be false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue