Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The code snippet changed in this PR is described with the following text `Here we define a withComments trait that creates 3 comments for a newly created post:` Creating a post requires having a factory on the path `mirage/factories/post.js` as opposed to `mirage/factories/user.js` Also to keep it consistent with the rest of the examples where posts have a property called `title`, as opposed to `name`, I went ahead and updated the `name` property on the factory to be `title`.
- Loading branch information