diff options
author | Starfall <us@starfall.systems> | 2020-09-14 13:49:06 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2020-09-14 13:49:06 -0500 |
commit | bc32e736fbd7c6afd59e619c885fa80ab637324a (patch) | |
tree | afc04eaa04aeb45b56c378bdc474428d6fdcc813 /spec/services/unallow_domain_service_spec.rb | |
parent | fd0b806603dbd632d259d06af789c7195c7264dc (diff) | |
parent | afa753a890197b188ddf7ba6a8493d4fe361d956 (diff) |
Merge branch 'glitch' into main
Diffstat (limited to 'spec/services/unallow_domain_service_spec.rb')
-rw-r--r-- | spec/services/unallow_domain_service_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/unallow_domain_service_spec.rb b/spec/services/unallow_domain_service_spec.rb index 559e152fb..b93945b9a 100644 --- a/spec/services/unallow_domain_service_spec.rb +++ b/spec/services/unallow_domain_service_spec.rb @@ -55,9 +55,9 @@ RSpec.describe UnallowDomainService, type: :service do end it 'removes the remote accounts\'s statuses and media attachments' do - expect { bad_status1.reload }.to_not raise_exception ActiveRecord::RecordNotFound - expect { bad_status2.reload }.to_not raise_exception ActiveRecord::RecordNotFound - expect { bad_attachment.reload }.to_not raise_exception ActiveRecord::RecordNotFound + expect { bad_status1.reload }.to_not raise_error + expect { bad_status2.reload }.to_not raise_error + expect { bad_attachment.reload }.to_not raise_error end end end |