Browse files

Add post detail display markup

We make the component test pass by adding markup to display the post.

Inner green; outer red:
✘ Element .js-post-detail-title has text "Test Post"
✘ Element .js-post-detail-body has text "This post is a test!"

The acceptance test still has the same error! Why's that? Well, we're not actually saving the post when we click save, and we aren't loading the post on the show page.
  • Loading branch information...
CodingItWrong committed Jan 11, 2018
1 parent 8da861b commit 075ca14b41e123e3d6c33fc3f47d202f5a47b9d6
Showing with 5 additions and 1 deletion.
  1. +5 −1 app/templates/components/post-detail.hbs
@@ -1 +1,5 @@
<h2 class="js-post-detail-title">{{post.title}}</h2>

<div class="js-post-detail-body">

0 comments on commit 075ca14

Please sign in to comment.