Add spec for PostsController.