As an admin I would like to be able to delete a Category so that I can remove any that are not needed.
Given an admin is vising the list of Categories When they select the Delete option Then they should be prompted to confirm the deletion
Given the admin wishes to confirm the delete When they the select the option to confirm Then the Category should be removed from the system And the admin should be directed back to the Category list
Given the admin decides not to confirm the delete When they the select the option to reject confirmation Then the Category should NOT be removed from the system And the admin should be directed back to the Category list
NOTE: For the time being it is acceptable to treat all users as admin users. There is a future story about enforcing user permissions.
As an admin I would like to be able to delete a Category so that I can remove any that are not needed.
Given an admin is vising the list of Categories
When they select the
Delete
optionThen they should be prompted to confirm the deletion
Given the admin wishes to confirm the delete
When they the select the option to confirm
Then the Category should be removed from the system
And the admin should be directed back to the Category list
Given the admin decides not to confirm the delete
When they the select the option to reject confirmation
Then the Category should NOT be removed from the system
And the admin should be directed back to the Category list