andrewwood2 / acebook-gazelle

AceBook project deployment
https://damp-beyond-18538.herokuapp.com/posts
Other
0 stars 2 forks source link

Post can be updated and deleted i4 #31

Closed joshnickson closed 6 years ago

joshnickson commented 6 years ago

Completed CRUD features: UPDATE and DELETE.

Satisfied following user stories:

As a fickle acebook user
So that I can edit my opinions
I would like to be able to edit a post

As a post-first-think-later type of acebook user
So that I can remove all evidence of my most embarrassing posts
I would like to be able to delete a posts

Moved some repeated lines in test files to web_helper.rb

DRY controller with private method

Bring back controller spec. NOTE: First test in POST route failing. Test needs updating at some point.

rebeccasedgwick commented 6 years ago

Looks great, will add the POST tests to the card wall.