Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Story 13, Add a Review for a Book #16

Open
7 tasks
iandouglas opened this issue May 3, 2019 · 0 comments
Open
7 tasks

User Story 13, Add a Review for a Book #16

iandouglas opened this issue May 3, 2019 · 0 comments

Comments

@iandouglas
Copy link
Contributor

iandouglas commented May 3, 2019

As a Visitor,
When I visit a book's show page
I see a link to add a new review for this book.
When I click on this link, I am taken to a new review path.
On this new page, I see a form where I can enter:
- a review title
- a username as a string
- a numeric rating that can only be a number from 1 to 5
- some text for the review itself
When the form is submitted, I should return to that book's
show page and I should see my review text.

User names should be converted to Title Case before saving.
User names should be unique for that book (a user can leave only one review per book)

Checklist:

  • base code tests are written
  • base code is written to pass tests
  • edge case ("sad path") tests written
  • edge case code written
  • code is reviewed
  • branch is merged
  • all tests still pass

child of #18

child of #33

@memcmahon memcmahon added this to To Do in BookClub May 6, 2019
This was referenced May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
BookClub
  
To Do
Development

No branches or pull requests

1 participant