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
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