luisramos0
|
c1d14686a6
|
Merge branch 'master' into 2-0-stable-Mar22
|
2019-03-22 10:55:17 +00:00 |
|
luisramos0
|
2de6c46834
|
Make order.order_cycle required in cart_service. There’s no more exception for that without product_distributions.
|
2019-03-13 12:24:40 +00:00 |
|
luisramos0
|
f0842fcbe5
|
Convert all calls to variant.count_on_hand to variant.on_hand
|
2019-02-18 21:54:07 +00:00 |
|
luisramos0
|
6da94fc960
|
Adapt cart_controller_spec to new variant_stock where variant count_on_hand can only be set after saving the variant
|
2019-01-18 12:45:29 +00:00 |
|
luisramos0
|
d926f7c776
|
Reorganize and improve cart controller spec
|
2019-01-15 13:42:51 +00:00 |
|
luisramos0
|
aa603c9a84
|
Make rubocop happy on cart controller, cart service and stock levels service
|
2019-01-15 13:42:51 +00:00 |
|
luisramos0
|
b0449be302
|
Add spec to test cart controller handling of variant overrides on cart populate
|
2019-01-15 13:38:58 +00:00 |
|
luisramos0
|
c0473a4505
|
Extract variants_stock_levels from cart_controller and refactor some names
|
2019-01-15 13:38:58 +00:00 |
|
luisramos0
|
ec069b1e3e
|
Converted specs to latest rspec syntax
|
2018-08-23 12:39:58 +01:00 |
|
luisramos0
|
05bfc098ff
|
/controllers/spree/order_populator_decorator (with a class_eval) is now /services/CartService with no dependency to Spree::OrderPopulator.
|
2018-08-23 12:39:55 +01:00 |
|
luisramos0
|
6caa361354
|
Moved Spree::OrderController.populate to new CartController.
This was done to make order populate independent of Spree::OrdersController
|
2018-08-23 12:37:52 +01:00 |
|
luisramos0
|
0b9061df28
|
removed Cart route, controller, model and specs: dead code
|
2018-08-11 22:17:12 +01:00 |
|
Maikel Linke
|
b7de80dd7f
|
Remove unused count_on_hand setting from spec
This spec doesn't need to set the product's `count_on_hand`. The product
comes with a count of 3, but what matters is the count of variants.
|
2018-06-27 11:41:55 +10:00 |
|
Daniel Dominguez
|
9d9a974295
|
Switched gem FactoryGirl to FactoryBot as FactoryGirl is deprecated.
- Change FactoryGirl to FactoryBot everywhere on code.
|
2018-05-04 11:52:08 -03:00 |
|
Rob Harrington
|
82072c8970
|
Explicitly specifying 'type: :controller' for all controller specs
|
2017-11-10 08:47:12 +11:00 |
|
Rob Harrington
|
b9f19d5777
|
Fixing broken specs
|
2015-04-17 13:00:20 +10:00 |
|
Rob H
|
43a4a3dd5a
|
Alter on_hand counts for products to fix broken specs
|
2014-03-06 13:14:06 +11:00 |
|
Rohan Mitchell
|
57f7d489ff
|
Rename OpenFoodWeb namespace to OpenFoodNetwork
|
2013-10-18 17:29:55 +11:00 |
|
Rohan Mitchell
|
8353413c4a
|
Fix spec fail
|
2013-09-30 15:13:02 +10:00 |
|
Andrew Spinks
|
fdaa5364a1
|
Add controller action for adding products to multi cart via javascript API.
|
2013-08-15 15:36:35 +10:00 |
|
Andrew Spinks
|
59fce8a964
|
Show line items for each order in multi-cart.
|
2013-08-14 10:49:55 +10:00 |
|
Andrew Spinks
|
bc57364c7e
|
Add simple angular cart to the main page.
|
2013-08-08 18:31:56 +10:00 |
|
Andrew Spinks
|
ac37dff946
|
Add controller for cart and beginnings of an API.
|
2013-08-08 18:31:56 +10:00 |
|