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