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

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

Delete a Post #41

Open joshdbarton opened 3 years ago

joshdbarton commented 3 years ago

As an author I would like the ability to remove a post I have written so that I can prevent others from reading it when I decide it is no longer something I wish people to read.

Given an author is viewing a Post that they have written
When they select the delete option
Then they should be presented to confirm the deletion

Given the author wishes to confirm the delete
When they the select the option to confirm
Then the Post should be removed from the system
And the author should be directed back to the Post list

Given the author decides not to confirm the delete
When they the select the option to reject confirmation
Then the Post should NOT be removed from the system
And the author should be directed back to the Post details

dparsley1203 commented 3 years ago

404 Error when trying to delete a post the user created.