Guest User

Untitled

a guest
Mar 7th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. # test bad pwd/uname
  2. def test_invalid_username_or_password
  3. @infractor = User.new
  4. #new user with existant username
  5. @infractor.username = "gregory"
  6. @infractor.password = "not-gonna-happen"
  7. assert(@infractor.save)
  8. end
Add Comment
Please, Sign In to add comment