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

Closed
7 tasks done
iandouglas opened this issue Jan 28, 2019 · 0 comments
Closed
7 tasks done

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

iandouglas opened this issue Jan 28, 2019 · 0 comments

Comments

@iandouglas
Copy link

iandouglas commented Jan 28, 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.

Users are created if they do not already exist.
User names should be converted to Title Case before saving.
User names should be unique within the system.
If user existed in the database, this review is associated
with that user.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants