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 190a2ff commit 531b8a3c1641e37abe052f222dd91e3283682fd3
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 531b8a3

Please sign in to comment.