Autofix Rubocop RSpec/BeNil (#23653)

This commit is contained in:
Nick Schonning
2023-02-17 07:45:27 -05:00
committed by GitHub
parent 936204b9ea
commit 68b1071f86
13 changed files with 22 additions and 41 deletions

View File

@@ -195,7 +195,7 @@ RSpec.describe Api::V1::StatusesController, type: :controller do
end
it 'removes the status' do
expect(Status.find_by(id: status.id)).to be nil
expect(Status.find_by(id: status.id)).to be_nil
end
end