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
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