Skip to content
Browse files

Add mirage get post route

We configure Mirage to return a post retrieved by ID. This allows the post detail screen to be displayed.

Outer Red:
✘ Element .js-post-detail-title has text "Test Post"
✘ Element .js-post-detail-body has text "This post is a test!"

The title is not shown because the data from our create post form isn't actually submitted.
  • Loading branch information...
CodingItWrong committed Jan 11, 2018
1 parent f806929 commit 4dde7f3d8523771b758029a97ce8f34869e7a075
Showing with 1 addition and 0 deletions.
  1. +1 −0 mirage/config.js
@@ -1,3 +1,4 @@
export default function() {'/posts');

0 comments on commit 4dde7f3

Please sign in to comment.
You can’t perform that action at this time.