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
The passing test for this lab requires that you access your session from inside of the view file without the use of a carrying instance variable, negating the process of writing a helper method to access and update the session. The problem is that the test itself (in "products_index_spec") simply sets the session and renders the view without ever utilizing the controller. Additionally, the test in the "products_index_spec" file is redundant, because the "cart_spec" has already tested for whether the item is rendered to the page upon submission.
The text was updated successfully, but these errors were encountered:
The passing test for this lab requires that you access your session from inside of the view file without the use of a carrying instance variable, negating the process of writing a helper method to access and update the session. The problem is that the test itself (in "products_index_spec") simply sets the session and renders the view without ever utilizing the controller. Additionally, the test in the "products_index_spec" file is redundant, because the "cart_spec" has already tested for whether the item is rendered to the page upon submission.
The text was updated successfully, but these errors were encountered: