Change confirmed user stubbed guest attribute to false
- Confirmed users are not guests and it was previously set to true when it should've been false
Add validation for presence of latitude and longitude
- All users, even guests, should have a latitude and longitude
Uncomment rspec tests for latitude and longitude for users
- Also move the tests up in the user model spec file for testing readibility
Add test for allowance of nil guest phone number
- Since guests have a User record created upon visiting the website, their phone numbers will be nil because they haven't given us that information yet
Add presence of name validation for confirmed users
- When users signup, their guest attribute becomes false so the validator will make sure that the user's name is no longer nil
Add test to validate presence of name for confirmed users
- When users are no longer guests (after signup) and become confirmed users, the User model will validate the presence of the users' names
Set guest attribute to true in spec test for guest users
- Before running the spec test for guest users, the User guest attribute is set to true
Add test that should not validate the presence of guest names
- Since User records are created for guests, the name presence validtor should not validate guest names because they have not provided the program with that info yet
Edit validation for unique phone number
- Validation for unique phone number only works when the guest is no longer a guest
- Guests cannot be validated for unique phone numbers because they haven't given us that info yet so all guests will have nil as their phone numbers
Add tests for validation of unique phone numbers
- Guest users don't need unique phone numbers because all guests phone numbers are nil
- Confirmed users will be validated phone numbers
Merge pull request #203 from spring-peepers-2014/User_Model_Spec

Add more User model spec