Browse files

Add blog post create template

Usually a `create` action would redirect to another route instead of rendering a template directly. But for the sake of keeping this tutorial simple, we'll just go ahead and render it--so we add a `create` template file. We leave it empty since that's all we need to do to get past the current error.

Outer red: expected to find text "Hello, World!" in ""

The next error is that, after submitting the blog post, the acceptance test expects to see the title of the post somewhere on the page, but it doesn't see it--because we haven't actually rendered any content at all.
  • Loading branch information...
CodingItWrong committed Feb 26, 2016
1 parent 3a3c517 commit f1f3772463e4e7a86155e093c02c837cb1280b45
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/views/blog_posts/create.html.erb
@@ -0,0 +1 @@
<%# empty view %>

0 comments on commit f1f3772

Please sign in to comment.