You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a visitor
When I visit an Item Show page
Then I see a link to change the Item's active status
Active items should have the link "deactivate"
Inactive items should have the link "activate"
When I click the link
Then a 'PATCH' request is sent to '/items/:id/activate' or 'items/:id/deactivate' (depending on the link)
and I am redirected to the Item Show page where I see the active status has been toggled
DO THESE STORIES FIRST:
User Story 9, Item Show
Checklist:
base tests are written
base code is written to pass tests
edge case ("sad path") tests written (if required)
DO THESE STORIES FIRST:
Checklist:
child of turingschool-examples#108
child of turingschool-examples#130
depends on turingschool-examples#119
The text was updated successfully, but these errors were encountered: