NSS-Day-Cohort-49 / tabloid-mvc-cassettes

tabloid-mvc-tabloid-mvc-cassettes created by GitHub Classroom
0 stars 1 forks source link

Create a Post #42

Closed joshdbarton closed 3 years ago

joshdbarton commented 3 years ago

As an author, I would like to be able to create Posts so I can share my thoughts with the world.

Given a user is in the app
When they select the New Post menu option Then they should be directed to a page with a form for creating a new post

Given the user has entered the relevant information for a Post When they click the Save button
Then the Post should be saved to the database
And the creation datetime should be automatically set to the current date and time
And the post should automatically be approved
And the user should be recorded as the author of the Post
And the user should be redirected to the new Post's details page

The "relevant information" for a Post is