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 6d35eee commit ee2832332b215c3dfed118b4976ddc904c85e6f7
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 ee28323

Please sign in to comment.