RSpec models test refactoring
Refactor a request test for posts, add login to User factory and model tests