Generate User model and add a test for a valid new user and verify an invalid user's name does not pass a test (after stipulating validationsin the model.
Add a test for validness of user email, and get it to pass by adding a validation in the User model.
Add name and email length validations.
Write valid email regex and correct test typos to get them passing.
Write a test for uniqueness and add validation stipulation in User model.
Add uniqueness of email.
Add uniqueness to user email in the db (not just in ActiveRecord) and comment out fixtures.
Apply downcase to email before it's saved to the db.
Add migration for password encryption.
Get tests to pass again by giving the example user a matching password and confirmation.
Write test for minimum password length and add stipulation in User model.