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