Refactored user model spec