diff options
author | ThibG <thib@sitedethib.com> | 2020-09-07 14:16:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-07 14:16:54 +0200 |
commit | 437d71bddf967573df3912ee5976f7c5a5a7b4c7 (patch) | |
tree | 322231d7d50704edf8da762b69ee22c9850f2ce3 /spec/services | |
parent | d967251fdc3826ad27d30e55258cfa4cdfd7c871 (diff) | |
parent | e5f934ddf0aa4ef9efbf45751bc00bebff768d99 (diff) |
Merge pull request #1418 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec/services')
-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 |