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
Ticket appears to be done.
Able to create new post.
Confirmed data is saved to database.
"IsApproved" is set to true on all new posts.
Shows who wrote post
User is routed to detail page
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 postGiven the user has entered the relevant information for a Post When they click the
Save
buttonThen 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