Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # test bad pwd/uname
- def test_invalid_username_or_password
- @infractor = User.new
- #new user with existant username
- @infractor.username = "gregory"
- @infractor.password = "not-gonna-happen"
- assert(@infractor.save)
- end
Add Comment
Please, Sign In to add comment