Kristina Lim
|
cd81dfaead
|
Move deleted variant to let block in feature spec
|
2019-08-02 21:52:36 +08:00 |
|
Kristina Lim
|
25073ada84
|
Move order to a let block in feature spec
|
2019-08-02 21:52:33 +08:00 |
|
Kristina Lim
|
15b6f9dd5e
|
Add specs testing edit order page still okay when variant deleted
Note that the wrapping example group also loads the edit order page
before this "before" block. This will be fixed in the next commit.
|
2019-08-02 21:45:39 +08:00 |
|
Kristina Lim
|
0377e02dc1
|
Add specs testing that shipments see deleted variants
|
2019-08-02 21:45:38 +08:00 |
|
luisramos0
|
aa3c1aa0fe
|
Remove Spree module declaration from these files as they were moved out of the spree namespace
|
2019-08-01 14:30:11 +01:00 |
|
luisramos0
|
31bac9641f
|
Move api products and variants routes and ctrl out of spree namespace
|
2019-08-01 14:28:55 +01:00 |
|
luisramos0
|
4497173213
|
Adapt spree/api/products_controller_spec to AMS serializer
|
2019-07-31 11:23:18 +01:00 |
|
luisramos0
|
4d74d246e8
|
Remove spree/api/products_controller index and new actions, not used
|
2019-07-31 10:32:45 +01:00 |
|
luisramos0
|
07aececdcf
|
Remove unused route api/products managed
|
2019-07-31 09:50:31 +01:00 |
|
luisramos0
|
c3fbf9cdf9
|
Remove unused pagination from index and respective specs, fix spec for search by sku by adding sku to the serializer and adapt a few specs to pass with AMS attrivbutes,
|
2019-07-31 09:40:19 +01:00 |
|
luisramos0
|
180598c603
|
Convert spree/api/variants_controller to AMS by changing base_controller, using render json instad of respond with, deleting rabl templates and adapting specs
Delete unused pagination spec
|
2019-07-31 09:40:19 +01:00 |
|
luisramos0
|
e4a6b3880f
|
Fix some more simple rubocop issues
|
2019-07-31 09:36:48 +01:00 |
|
luisramos0
|
96ce4deb45
|
Transpec spec/support/api_helper.rb
|
2019-07-31 09:36:48 +01:00 |
|
luisramos0
|
a3c179bd3f
|
Fix some more simple rubocop issues
|
2019-07-31 09:36:48 +01:00 |
|
luisramos0
|
a57504ba1f
|
Bring api_helper.image from spree_api to support spree/api/products_controller_spec
|
2019-07-31 09:36:48 +01:00 |
|
luisramos0
|
25451eed6b
|
Bring api spec helpers from spree_api into ofn/api_helper
|
2019-07-31 09:36:48 +01:00 |
|
luisramos0
|
18aa16650d
|
Remove dependency to Spree::ApiConfiguration, overall requires_authentication? is true, exceptions will be endpoint specific
|
2019-07-31 09:35:46 +01:00 |
|
luisramos0
|
8bc9985edb
|
Transpec and fix rubocop issues in spree/api/variants_controller_spec
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
6dfc927730
|
Make spree/api/variant_controllers_spec pass
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
3771e26eba
|
Bring tests from spree/api/variants_controller_spec from spree_api
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
fd21d35aee
|
Transpec and fix rubocop issues in spree/api/shipments_controller_spec
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
1417b924d2
|
Bring and adapt tests from spree/api/shipments_controller_spec and mix them with exiting tests in OFN
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
2912c1b87d
|
Transpec and fix rubocop issues in spree/api/product_controller_spec
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
e746a0db7d
|
Bring tests from spree/api/products_controller_spec and add them to existing ones on the ofn side
Adapt these tests to have a green build
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
84a2886003
|
Improve auth code in spree/api/taxons_controller_spec
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
c668677b8a
|
Bring spree/api/taxons_controller_spec from spree_api, adapt it, transpec it and fix rubocop issues
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
2490cbfccb
|
Transpec and fix rubocop issues in spree/api/base_controller_spec
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
20a46a791c
|
Bring and adapt spree/api/base_controller_spec from spree_api
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
c5bcef6ae4
|
Delete unused spree/api/line_items_controller_decorator.rb
|
2019-07-31 09:32:33 +01:00 |
|
luisramos0
|
9400516b56
|
Fix broken (was always green) bulk_product_update_spec updating image spec where the old src url was not stored and the expect command was wrong with !=
|
2019-07-30 20:37:26 +01:00 |
|
Luis Ramos
|
62eb2bba13
|
Merge pull request #4059 from luisramos0/kill_rabl
Convert 2 rabl templates to AMS and remove a few unused ones
|
2019-07-30 19:28:21 +01:00 |
|
luisramos0
|
be41271038
|
Make spelling coherent, as we have serializers with Z we get rid of the few serialisers with S we have
|
2019-07-29 19:57:12 +01:00 |
|
luisramos0
|
2c6dab9c85
|
Add spec for Api::OrderCycleSerializer
|
2019-07-29 18:56:49 +01:00 |
|
luisramos0
|
c45194473b
|
Add spec to cover inject_current_order_cycle
|
2019-07-29 18:14:00 +01:00 |
|
Luis Ramos
|
340b92e580
|
Merge pull request #3700 from luisramos0/2-0-without-auth-devise
Remove dependency to spree_auth_devise
|
2019-07-26 10:57:38 +01:00 |
|
luisramos0
|
74a030f6db
|
Organizing spec/serializers - put each file in the correct place acccording to its namespace
|
2019-07-23 22:17:28 +01:00 |
|
luisramos0
|
7a8b5e89be
|
Add specs to cover the most important new fields in api/admin/variant_serializer
|
2019-07-23 22:11:00 +01:00 |
|
luisramos0
|
90690cd238
|
Move api/admin/variant_serializer_spec to the correct folder under /spec
|
2019-07-23 22:03:40 +01:00 |
|
Luis Ramos
|
1f75c7e5e4
|
Merge pull request #4047 from luisramos0/undeface
De-deface some admin configuration pages and the general admin layout and menu
|
2019-07-23 18:36:09 +01:00 |
|
Kristina Lim
|
e1fce8304d
|
Update weight calculator and add specs
|
2019-07-23 23:24:00 +08:00 |
|
luisramos0
|
1d92d6cc33
|
Remove unused api endpoint order_cycles and also action enterprises/managed and respective views
|
2019-07-22 17:35:41 +01:00 |
|
Luis Ramos
|
a6a695660f
|
Merge pull request #4002 from luisramos0/more_rails4
Adapting queries in permissions to Rails 4
|
2019-07-19 15:17:01 +01:00 |
|
Luis Ramos
|
4831bae9cb
|
Merge pull request #3953 from mkllnk/3727-first-credit-card-default
First stored credit card becomes default again
|
2019-07-19 12:12:09 +01:00 |
|
luisramos0
|
f2ac354e00
|
Make features/admin/orders_spec test a bit more reliable by expecting element to be there before using it
|
2019-07-18 14:29:38 +01:00 |
|
luisramos0
|
81482683cf
|
Extract method in subs controller
|
2019-07-17 12:08:51 +01:00 |
|
luisramos0
|
57f1742f24
|
Save subscription form on subs unpause so that proxy orders and orders are synced
|
2019-07-17 12:08:48 +01:00 |
|
Maikel
|
a1f8530489
|
Merge pull request #3962 from luisramos0/first_view_spec
First 2 view specs in OFN
|
2019-07-17 10:57:58 +10:00 |
|
luisramos0
|
3b467dbae8
|
Adapt line_item_syncer to the case where item is not added to the completed order because of insufficient stock and the subscription quantity is updated for that item afterwards
|
2019-07-16 12:08:08 +01:00 |
|
luisramos0
|
306390440a
|
Revert "Swith line_item_syncer.create_new_items from deleting line item in the case of stock issue, to simply set the quantity to zero. This makes things easier later as the line item is already present if the user tries to change quantity of the subscription_line_item"
This reverts commit d153e58933.
|
2019-07-16 11:00:21 +01:00 |
|
luisramos0
|
267131626e
|
Fix typo and add test case to cover out of stock case
|
2019-07-16 10:58:25 +01:00 |
|