Challenge Solution: Create a New Blog Post
Explore how to build the create action in the blog_posts controller, managing parameters and permissions to successfully pass request tests for creating new blog posts.
We'll cover the following...
We'll cover the following...
Let's look at the solution to the challenge:
--require spec_helper
Solution for the create a new blog post challenge
Explanation
To pass the test case, we only need to implement some controller logic for the blog posts. Namely, we must ...