nss-evening-cohort-12 / rare-rest-smoky-mountain

rare-rest-smoky-mountain created by GitHub Classroom
0 stars 0 forks source link

Delete a Post #34

Open hannahhall opened 3 years ago

hannahhall 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

MarkyAaronYoung commented 3 years ago

1 point