0
0
Fork 0

Domain blocks now have varying severity - auto-suspend vs auto-silence

This commit is contained in:
Eugen Rochko 2017-01-23 17:38:38 +01:00
parent ef2b924679
commit 6d98a73180
8 changed files with 25 additions and 12 deletions

View file

@ -14,7 +14,7 @@ RSpec.describe BlockDomainService do
bad_status2
bad_attachment
subject.call('evil.org')
subject.call('evil.org', :suspend)
end
it 'creates a domain block' do
@ -22,7 +22,7 @@ RSpec.describe BlockDomainService do
end
it 'removes remote accounts from that domain' do
expect(Account.find_remote('badguy666', 'evil.org')).to be_nil
expect(Account.find_remote('badguy666', 'evil.org').suspended?).to be true
end
it 'removes the remote accounts\'s statuses and media attachments' do