There are two unit tests in restful-authentication that fails for me
as User.authenticate returns nil
‘new_password’, :password_confirmation => ‘new_password’)
assert_equal users(:quentin), User.authenticate(‘quentin’,
users(:quentin).update_attributes(:login => ‘quentin2’)
assert_equal users(:quentin), User.authenticate(‘quentin2’,
However, should it really be possible just to change password? At
least in the older version one had to generate at new user, I think.
That is the test should assert errors instead. The same holds for the
second test . Should it not assert errors instead of equal ?
Anyone that has had the same problem ?
Any help would be appreciated