Use assert_nil to prevent minitest warnings
This commit is contained in:
parent
fa2d333bde
commit
c76f0e59b7
|
@ -245,7 +245,7 @@ class RecoverableTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
test 'should return nil if a user based on the raw token is not found' do
|
test 'should return nil if a user based on the raw token is not found' do
|
||||||
assert_equal User.with_reset_password_token('random-token'), nil
|
assert_nil User.with_reset_password_token('random-token')
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue