Skip to content

Instantly share code, notes, and snippets.

@leemcalilly
Created May 20, 2013 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leemcalilly/d8607ad83d530558a011 to your computer and use it in GitHub Desktop.
Save leemcalilly/d8607ad83d530558a011 to your computer and use it in GitHub Desktop.
1) User has a valid the factory
Failure/Error: user.should be_valid
expected #<User id: 216, email: "person_3@example.com", crypted_password: "$2a$10$TqzeyFPG4gbMLK0haSqkgeRR1mhA9jW7YeJrPWNDhuCk...", salt: "2wUnTEd8soxqhwkfoek8", created_at: "2013-05-20 14:02:16", updated_at: "2013-05-20 14:02:16", remember_me_token: nil, remember_me_token_expires_at: nil, reset_password_token: nil, reset_password_token_expires_at: nil, reset_password_email_sent_at: nil> to be valid, but got errors: Password doesn't match confirmation, Password is too short (minimum is 6 characters)
# ./spec/requests/factories_spec.rb:7:in `block (2 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment