Refactored user  model spec