Autofix Rubocop RSpec/BeNil (#23653)
This commit is contained in:
parent
936204b9ea
commit
68b1071f86
13 changed files with 22 additions and 41 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue