Create micropost model also adding user id
Add index to user id and micropost in migration
Create spec for microposts
Schema
Add spec to test validity of micropost without user_id
Add validation to micropost model
Refactor micropost spec
Test for micropost attribute in user spec
Add belongs to and has many to user and micropost model
Create factory for micropost
Create spec that test order of micropost is in reverse
Fix delelted spec for micropost order testing
Add default scope to micropost order
Add spec to test deletion of micropost when deleting user
Add additional validation to user esuring deletion of user micropost
Remove from factory so it wont consider the content as an attribute of user.(103)passing