Skip to content

Commit

Permalink
Use assert_nil to prevent minitest warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosantoniodasilva committed Mar 2, 2017
1 parent fa2d333 commit c76f0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/models/recoverable_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def setup
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

0 comments on commit c76f0e5

Please sign in to comment.