Luis Ramos
|
ff0aa377a1
|
Run rubocop autocorrect
|
2020-09-05 16:38:36 +01:00 |
|
Luis Ramos
|
aa46a4b5da
|
Bring models related to taxes and adjustments from spree_core
|
2020-09-05 16:38:36 +01:00 |
|
Eduardo
|
71876ca23a
|
change spec to use new authentication helper and user factory
|
2020-09-04 08:48:16 -03:00 |
|
Eduardo
|
07e5f8ed8d
|
fix typo on title of specs
|
2020-09-04 08:45:58 -03:00 |
|
Eduardo
|
11684dae65
|
hide environment on payment methods when user is not admin
|
2020-09-04 08:45:57 -03:00 |
|
Luis Ramos
|
d80a44ade0
|
Merge pull request #5867 from luisramos0/stock
[Bye bye Spree] Bring models stock_location and stock_movement from spree_core
|
2020-09-03 18:35:55 +01:00 |
|
Luis Ramos
|
e413920335
|
Move both OptionValueNamer and VariantAndLineItemNaming to app/services/variant_units
|
2020-09-03 09:11:00 -07:00 |
|
Andy Brett
|
4bc3101f4d
|
Add specs for shipping weight calculations using lbs and oz
|
2020-09-03 09:11:00 -07:00 |
|
Andy Brett
|
404d7bbc43
|
add test for options_text using g/lb
|
2020-09-03 09:11:00 -07:00 |
|
Andy Brett
|
55e448897f
|
use fewer sigfigs for ounces; add spec to option_value_namer
|
2020-09-03 09:11:00 -07:00 |
|
Andy Brett
|
08e6e5a459
|
add compatibleUnitScales function and spec
|
2020-09-03 09:11:00 -07:00 |
|
Andy Brett
|
2f216039ac
|
update variantunitmanager test expectation
|
2020-09-03 09:11:00 -07:00 |
|
Luis Ramos
|
f28241cc5e
|
Merge duplicate Spree::User#superadmin? into existing Spree::admin?
|
2020-09-02 22:41:42 +01:00 |
|
Luis Ramos
|
2cb6124b7a
|
Use existing product factory, the custom product is not needed here
|
2020-09-01 17:13:07 +01:00 |
|
Luis Ramos
|
653b71dbd4
|
Remove duplicated spec
|
2020-09-01 17:10:51 +01:00 |
|
Luis Ramos
|
5958c2f68c
|
Rubocop autocorrect
|
2020-09-01 17:09:22 +01:00 |
|
Luis Ramos
|
b9f7a98c46
|
Bring image, asset and images_helper from spree_core
|
2020-09-01 17:09:22 +01:00 |
|
Luis Ramos
|
88d90a37e8
|
Run transpec
|
2020-09-01 15:53:18 +01:00 |
|
Luis Ramos
|
ed114f4c4c
|
Fix rubocop issues
|
2020-09-01 15:52:36 +01:00 |
|
Luis Ramos
|
ffa0d202be
|
Add states api endpoint to support existing code on the customer details page when user changes country
|
2020-09-01 15:46:22 +01:00 |
|
Luis Ramos
|
5e49e03477
|
Merge pull request #5964 from coopdevs/fix-flaky-product-update-spec
Check taxon's attribute instead of object identity
|
2020-09-01 12:06:02 +01:00 |
|
Luis Ramos
|
b35d579f64
|
Bring stock_movement factory from spree_core
|
2020-09-01 10:20:51 +01:00 |
|
Luis Ramos
|
3198bbd3cb
|
Bring required factory from spree_core
|
2020-09-01 10:17:45 +01:00 |
|
Luis Ramos
|
865a4b3063
|
Fix base helper spec
|
2020-09-01 09:46:41 +01:00 |
|
Luis Ramos
|
2f93a06dd5
|
Run rubocop -a on files brought from spree_core
|
2020-09-01 09:46:41 +01:00 |
|
Luis Ramos
|
c151195e3a
|
Merge decorator with original class and delete dead code
|
2020-09-01 09:46:41 +01:00 |
|
Luis Ramos
|
7ec00cf40a
|
Bring base files from spree_core
|
2020-09-01 09:45:11 +01:00 |
|
Luis Ramos
|
bf81b5a305
|
Remove unnecessary setup code in spec, propagate_all_variants is always true in OFN
|
2020-09-01 09:42:24 +01:00 |
|
Luis Ramos
|
d87d5d3537
|
Fix stock_movement and stock_location specs brought from spree_core
propagate_all_variants is always true in OFN
|
2020-09-01 09:42:24 +01:00 |
|
Luis Ramos
|
e0ea25b7a3
|
track_inventory_levels is always true in OFN
|
2020-09-01 09:42:24 +01:00 |
|
Luis Ramos
|
8f19ad0646
|
Delete dead code
|
2020-09-01 09:42:24 +01:00 |
|
Luis Ramos
|
e89eb8f76c
|
Fix simepl rubocop issues
|
2020-09-01 09:42:24 +01:00 |
|
Luis Ramos
|
d13bd86e4c
|
Bring stocck movement and stock location from spree
|
2020-09-01 09:42:24 +01:00 |
|
Luis Ramos
|
de061b4c54
|
Make it a keyword argument so it's easier to read
|
2020-08-31 18:47:24 +01:00 |
|
Luis Ramos
|
c7a5dd65cf
|
Ensure all specs that change stripe_connect_enable set the value back to what it was before, which should be the default value false
This will speed up specs as it ensures the stripe is always disabled and its JS script is not loaded
|
2020-08-31 18:38:50 +01:00 |
|
Luis Ramos
|
d9a228e5ec
|
Replace before and after hook with an around hook
|
2020-08-31 17:47:41 +01:00 |
|
Luis Ramos
|
66587ccc00
|
Allow user to remove terms and conditions file
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
42d5344179
|
Fix checkout spec by fixing wrong default value
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
12d18b2825
|
Add specs to checkout_spec to validate terms and conditions link
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
ad111e837e
|
Add spec to test terms and conditions link on checkout page
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
746533d3f6
|
Improve spec titles
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
4ef4a58532
|
Merge two describe sections with same before method and call it what it is: guest checkout
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
685a5465f1
|
Simplify checkout stripe spec
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
70e9ef93bb
|
Extract stripe spec from checkout spec so we can expand stripe tests in checkout
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
86ad31eb5c
|
Reuse checkout form filling code from CheckoutHelper in checkout paypal spec
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
edfd0fd95c
|
Move checkout helpers to checkout_helper
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
d1f5828d13
|
Rename checkout_workflow to checkout_helper
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
785f8ada4d
|
Refactor checkout_spec by removing unnecessary initial describe section
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
16a475d8af
|
Fix some rubocop issues
|
2020-08-31 17:40:34 +01:00 |
|
Luis Ramos
|
1a734aacf8
|
Allow user to upload terms and conditions PDF file to an enterprise
|
2020-08-31 17:40:34 +01:00 |
|