0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 22 additions and 41 deletions

View file

@ -44,7 +44,7 @@ RSpec.describe SessionActivation, type: :model do
let(:id) { nil }
it 'returns nil' do
is_expected.to be nil
is_expected.to be_nil
end
end
@ -89,7 +89,7 @@ RSpec.describe SessionActivation, type: :model do
let(:id) { nil }
it 'returns nil' do
expect(described_class.deactivate(id)).to be nil
expect(described_class.deactivate(id)).to be_nil
end
end