0
0
Fork 0

Fix RSpec/NoExpectationExample cop (#25103)

This commit is contained in:
Matt Jankowski 2023-05-26 03:41:12 -04:00 committed by GitHub
parent 38c6216082
commit 0f2c16ac4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 11 deletions

View file

@ -19,7 +19,7 @@ RSpec.describe PrecomputeFeedService, type: :service do
it 'does not raise an error even if it could not find any status' do
account = Fabricate(:account)
subject.call(account)
expect { subject.call(account) }.to_not raise_error
end
it 'filters statuses' do