1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Use assert_nil to prevent minitest warnings

This commit is contained in:
Carlos Antonio da Silva 2017-03-02 08:12:46 -03:00
parent fa2d333bde
commit c76f0e59b7

View file

@ -245,7 +245,7 @@ class RecoverableTest < ActiveSupport::TestCase
end
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