Guest User

Untitled

a guest
Apr 18th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
  2. index 0984b1b..f5ac082 100644
  3. --- a/test/unit/user_test.rb
  4. +++ b/test/unit/user_test.rb
  5. @@ -57,12 +57,6 @@ class UserTest < Test::Unit::TestCase
  6. users(:quentin).update_attributes(:password => 'new password', :password_confirmation => 'new password')
  7. assert_equal users(:quentin), User.authenticate('quentin', 'new password')
  8. end
  9. -
  10. - def test_should_find_user_with_updated_login
  11. - users(:quentin).update_attributes(:login => 'quentin2')
  12. - user = User.find_in_state :first, :active, :conditions => {:login => 'quentin2'}
  13. - assert_not_nil(user)
  14. - end
  15.  
  16. def test_should_not_rehash_password
  17. users(:quentin).update_attributes(:login => 'quentin2')
Add Comment
Please, Sign In to add comment