Please sign in to comment.
Add form component markup
Inner green Outer red: expected posts.show, actual posts.new Now that we're rendering markup for the component, its unit test is able to find the title field and fill it in. The acceptance test also gets past the point of filling in the title, and now it reports that it expected to end up at the posts.show route, but it was still on the posts.new route. This is because we haven't told the component to do anything when the save button is clicked. We need to get Ember handling the form submission.
- Loading branch information...
Showing with 12 additions and 1 deletion.
|@@ -1 +1,12 @@|
|<input type="text" class="js-post-form-title">|
|<textarea class="js-post-form-body" />|
|<button type="button" class="js-post-form-save">Save</button>|