about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-23 17:38:38 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-23 17:38:38 +0100
commit6d98a731803eb37ff36f60ff004acfc4c27ae37b (patch)
tree5ccc79cb65ccc6174aea1c5e0a8452b5076026d9 /spec
parentef2b92467977758466f4f19acb3334bee1fde107 (diff)
Domain blocks now have varying severity - auto-suspend vs auto-silence
Diffstat (limited to 'spec')
-rw-r--r--spec/services/block_domain_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/block_domain_service_spec.rb b/spec/services/block_domain_service_spec.rb
index 9933d016f..d88b3b55c 100644
--- a/spec/services/block_domain_service_spec.rb
+++ b/spec/services/block_domain_service_spec.rb
@@ -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