diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-09-04 20:22:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 20:22:26 +0200 |
commit | 68d3b160de4305884c27410c8104fe3389401620 (patch) | |
tree | 3c59f16d7da0cee5b8c277179a2eda4ce7eef94a /spec/services | |
parent | 272aa4a10940db182c47e7523a34da951fd89f02 (diff) |
Fix various warnings in rspec (#14729)
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 |