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:
parent
fa2d333bde
commit
c76f0e59b7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue