Testing the Happy Path for Create
Learn how to write a happy path test for the create endpoint.
We'll cover the following
Let’s take a look at the create
endpoint. This is the endpoint hit by the form rendered by our previous endpoint for new.
Controller
Let’s take a look at the code and discuss what we’ll need to test:
Get hands-on with 1200+ tech skills courses.