Given the user is authenticated
When the client performs a POST operation to the /products/n/like URL
Then that preference should be created for the current user
Given the user is authenticated
When the client performs a DELETE operation to the /products/n/like URL
Then that preference should be removed for the current user
Given the user is authenticated
When the client performs a GET operation to the /products/liked URL
Then the response should contain a list of products liked by the user
nick recommends we begin by emulating recommending a product which seems to be established in the codebase (click-through "works" but currently yields a 500 fetch error)
Given the user is authenticated When the client performs a POST operation to the
/products/n/like
URL Then that preference should be created for the current userGiven the user is authenticated When the client performs a DELETE operation to the
/products/n/like
URL Then that preference should be removed for the current userGiven the user is authenticated When the client performs a GET operation to the
/products/liked
URL Then the response should contain a list of products liked by the userAll likes should be displayed in the user profile