There are two unit tests in restful-authentication that fails for me as User.authenticate returns nil def test_should_reset_password users(:quentin).update_attributes(:password => ''new_password'', :password_confirmation => ''new_password'') assert_equal users(:quentin), User.authenticate(''quentin'', ''new_password'') end def test_should_not_rehash_password users(:quentin).update_attributes(:login => ''quentin2'') assert_equal users(:quentin), User.authenticate(''quentin2'', ''monkey'') end 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---