nss-day-cohort-51 / tabloidfullstack-upland-sandpipers

tabloidfullstack-upland-sandpipers created by GitHub Classroom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edit a Comment

askingalot opened this issue · comments

As a commenter I would like to be able to modify my Comments so that I can correct mistakes or add additional content.

Given the user is viewing the Comment list
When they select the option to edit an Comment
Then the user should be directed to a form and given the ability to change the Comment's information

Given the user is finished updating the Comment information
When they click the Save button
Then the updated Comment should be saved to the database
And the user should be redirected to the new Comment's details page

Given the user has decided not to edit the Comment
When they click the Cancel button
Then the user should be redirected back to the list page

Editable Information

  • Subject
  • Content