File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ This is powered by a Temporal workflow. Getting the cart and total are simply wo
6262
6363The workflow can be seen in the UI. If using the local dev server with defaults,
6464http://localhost:8233/namespaces/default/workflows/shopping-cart-my-user-id will show this cart. Notice how there is an
65- ` add_cart_entry ` workflow update the product we added and it had to fetch the product details from the database via an
66- activity. Can even use the "Queries" tab to fetch the current cart or total.
65+ ` add_cart_entry ` workflow update for the product we added and it had to fetch the product details from the database via
66+ an activity. Can even use the "Queries" tab to fetch the current cart or total.
6767
6868Now lets remove the 3 scooters, add just 1 scooter, and 2 TVs:
6969
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ class ShoppingCartsControllerTest < ActionDispatch::IntegrationTest
9191 10 . times do |i |
9292 get "/api/shopping_carts/#{ user_id } "
9393 assert_response :not_found
94+ break
9495 rescue Minitest ::Assertion
9596 raise if i == 9
9697 sleep ( 0.3 )
You can’t perform that action at this time.
0 commit comments