|
Ran
|
Files
15
|
Run time
1s
|
Badge
README BADGES
|
push
travis-ci
Added ShoppingCart (#13) * created a test for the cart page * WIP added route to cart * Added a cart controller * Created cart view * Altered index-file, placeholded selcted dishes * Created Add to cart-button * Created a given dish for cart feature * Reverted button to link for add to cart * Installed Shopping cart gem * Added shopping cart model * Added shopping cart item model * Created shopping cart item table and migrated * Pluralized cart controller, refactored cart route, changed add to cart button, created add items action.. yes we know this commit is too large.. forgot to commit * changed the button to a link again, set an action and pointed it to a route * ran rails db migrate * removed button expectation from dish creation feature * WIP cart button looks for owner id * sorted problem with migrations of acts as shoppable * button redirects to cart page * Added a new step * Added another step to confirm current path * Test reaches cart page from link on dish page * Fixed line in cart controller index * Items added to cart and visible in cart * Cart page shows name of dishes - yay * adding unit tests for cart and items * Will be removed * Revert "Will be removed" This reverts commit 0e9993987. * Deleted comments and ShoppingCart.new * Migrated db/schema
66 of 72 relevant lines covered (91.67%)
1.81 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|