Luis Ramos
|
6555f8bfba
|
Add specs to cover stripeSCA refunds
Duplication between stripe connect and stripeSCA is done on purpose so we can easily delete stripeConnect code when the migration is done
|
2020-07-01 18:13:27 +01:00 |
|
Luis Ramos
|
ce493866f9
|
Extract refunds specs from payments controller spec
|
2020-07-01 13:19:38 +01:00 |
|
Luis Ramos
|
ecb1920fa9
|
Move payment_controller_spec to specific folder so we can break it in more specific parts
|
2020-07-01 13:14:39 +01:00 |
|
Luis Ramos
|
2dce10bec2
|
Fix admin enterprises controller spec, for some reason the correct controller is not being picked up in the test
|
2020-06-30 10:49:45 +01:00 |
|
Cillian O'Ruanaidh
|
a9664e103d
|
Merge latest :master into :drop-blockenspiel branch and resolve conflicts related to Rubocop fixes.
|
2020-06-29 18:11:08 +01:00 |
|
Luis Ramos
|
2ad2836ac6
|
Merge pull request #5563 from luchiago/fix-missing-closed-oc-info-i18n
add missing i18n key for closed OC
|
2020-06-25 20:33:55 +01:00 |
|
Pau Pérez Fabregat
|
3939febc2f
|
Merge pull request #5653 from luisramos0/rubocop_refresher
Auto correct rubocop, refresh todo lists and fix some more rubocop issues
|
2020-06-23 10:25:59 +02:00 |
|
Luis Ramos
|
91fc0cd26f
|
Adapt specs to new Ar method update that replaces update_attributes
|
2020-06-22 17:39:20 +01:00 |
|
Luis Ramos
|
f848a89a00
|
Rename update_attributes to update #rails4
|
2020-06-22 16:51:43 +01:00 |
|
Luis Ramos
|
473fee19eb
|
Fix rubocop issues
|
2020-06-22 13:03:18 +01:00 |
|
Luis Ramos
|
3b91dd9dea
|
Use rubocop auto-correct to fix more issues
|
2020-06-22 12:51:47 +01:00 |
|
Luis Ramos
|
5d710f1e24
|
Use ruboccop autocorrect to fix issues
|
2020-06-22 12:46:07 +01:00 |
|
Luis Ramos
|
8a9dae0ee2
|
Run rubocop autocorrect
This is the result of bundle exec rubocop --auto-correct
|
2020-06-22 12:23:10 +01:00 |
|
Luis Ramos
|
15babd8bc4
|
Merge pull request #5651 from luisramos0/xhr
[Rails 4.1] Change for xhr rquest to avoid csrf during testing
|
2020-06-22 12:20:41 +01:00 |
|
Lucas Hiago
|
357c2c7b25
|
change for xhr to avoid csrf during testing
|
2020-06-21 20:22:33 +01:00 |
|
Pau Pérez Fabregat
|
db80992326
|
Merge branch 'master' into drop-blockenspiel
|
2020-06-19 12:12:10 +02:00 |
|
Luis Ramos
|
f6e3e01a10
|
Extract permitted payment_source attributes from checkout to use them in the backoffice payments controller
Add spec to verify payment source attributes are passed
|
2020-06-18 09:54:34 +01:00 |
|
Lucas Hiago
|
419b3ef26e
|
add missing i18n key for check hub ready for checkout
|
2020-06-16 19:49:43 -03:00 |
|
Lucas Hiago
|
e9e43c985f
|
add missing i18n key for closed OC
|
2020-06-16 19:48:24 -03:00 |
|
Luis Ramos
|
7db519ab62
|
Merge pull request #5570 from luisramos0/ship_methods_form
[Spree 2.1] Make Shipping methods form save calculator details
|
2020-06-15 15:05:50 +01:00 |
|
Cillian O'Ruanaidh
|
ba126d5afc
|
Move the bulk coop controller specs to the order management engine.
Also deleting old :bulk_coop_report action from the Spree::Admin::ReportsController.
|
2020-06-13 15:42:26 +01:00 |
|
Luis Ramos
|
0c1ed1731d
|
Add more specs to ship method controller
|
2020-06-09 12:33:55 +01:00 |
|
Luis Ramos
|
87292a8ce5
|
Refactor spec to add more similar specs
|
2020-06-09 12:15:52 +01:00 |
|
Luis Ramos
|
f05b0d1a57
|
Add missing fields to ship method controller permitted params list
|
2020-06-09 12:02:59 +01:00 |
|
Luis Ramos
|
fd5062429a
|
Add context to delete specs so we can add other specs
|
2020-06-09 12:02:59 +01:00 |
|
Luis Ramos
|
7924330321
|
Fix problem with stub_const, we need auto load the controller before the const is stubbed otherwise the controller will be broken
See details here: https://github.com/rspec/rspec-mocks/issues/1079#issuecomment-215620243
|
2020-06-09 10:52:53 +01:00 |
|
Luis Ramos
|
88896b7730
|
Merge branch 'master' into 3-0-stable-jun-2
|
2020-06-08 19:17:11 +01:00 |
|
Luis Ramos
|
cce26cb453
|
Merge branch '3-0-stable' into 3-0-stable-jun-2
|
2020-06-03 19:51:43 +01:00 |
|
Pau Pérez Fabregat
|
8a62c8aeb5
|
Merge pull request #5544 from luisramos0/api_ctrl
[Spree 2.1] Fix specs in Api::EnterprisesController and Api::ShopsController
|
2020-06-03 09:34:43 +02:00 |
|
Luis Ramos
|
f9d86eb7ed
|
Join module and describe declaration so that rspec picks up correct controller under Api namespace and not the controller with the same name in the base namespace
|
2020-06-02 20:17:46 +01:00 |
|
Luis Ramos
|
251c04f2d9
|
Make all tests in enterprises_controller_spec use api_post instead of spree_post
|
2020-06-02 20:17:07 +01:00 |
|
Luis Ramos
|
ff0c93a76b
|
Join module and describe declaration so that rspec picks up correct
controller under Api namespace and not the controller with the same name
in the base namespace
|
2020-06-02 20:15:25 +01:00 |
|
Luis Ramos
|
c68459f212
|
Make enterprises_controller_spec use api_post instead of spree_post
|
2020-06-02 20:06:52 +01:00 |
|
Luis Ramos
|
4438f620e9
|
Merge pull request #5421 from luisramos0/more_strong_params
[Spree 2.1] Add missing strong params to less important controllers missed by specs
|
2020-06-02 16:59:27 +01:00 |
|
Luis Ramos
|
c9a7a6e897
|
Merge branch 'master' into 3-0-stable-jun-2
|
2020-06-02 16:00:45 +01:00 |
|
Luis Ramos
|
7b89f4d6c5
|
Switch controller helper calls routes from spree to main_app, this will include all routes all the time
|
2020-06-02 15:00:57 +01:00 |
|
Luis Ramos
|
2c2263ab78
|
Fix rubocop issues in shipments_controller_spec
|
2020-06-02 13:41:50 +01:00 |
|
Luis Ramos
|
092e047b44
|
Remove resource_scoping from api/shipments_controller spec
|
2020-06-02 13:35:48 +01:00 |
|
Luis Ramos
|
a0aa42cd58
|
Remove resource_scoping from api/variants spec
|
2020-06-02 13:26:12 +01:00 |
|
Luis Ramos
|
a4a6431faf
|
Fix strong params problem where order object is not sent to controller
|
2020-06-01 13:42:22 +01:00 |
|
Luis Ramos
|
bae128738b
|
Add spec for return authorizations controller
|
2020-06-01 13:40:59 +01:00 |
|
Luis Ramos
|
583b4a1df7
|
Add spec to countries_controller
|
2020-06-01 13:40:59 +01:00 |
|
Luis Ramos
|
73f2844fe3
|
Add spec for shipping categories
|
2020-06-01 13:40:59 +01:00 |
|
Luis Ramos
|
52810b0f4a
|
Make enterprises controller spec assert the corrrect state of current_distributor
This validates bug #5496 is fixed
|
2020-05-26 11:26:20 +01:00 |
|
Luis Ramos
|
f34f693620
|
Merge branch 'master' into 3-0-stable-may-22
|
2020-05-22 22:54:19 +01:00 |
|
Pau Pérez Fabregat
|
3f593d6246
|
Merge pull request #5440 from luisramos0/grumpy_cat
Fix Grumpy Cat on shop page (cart with items from a closed OC)
|
2020-05-22 18:38:41 +02:00 |
|
Pau Pérez Fabregat
|
050e83e745
|
Merge pull request #5410 from luisramos0/fix_some_specs
[Spree 2] Make api/enterprises_controller_spec less flaky
|
2020-05-21 13:45:39 +02:00 |
|
Matt-Yorkley
|
6b3a7228ce
|
Update flash message with instruction to update the quantities
|
2020-05-20 09:43:29 +02:00 |
|
Luis Ramos
|
f22eae752d
|
Adapt spec to validate issue #5340
|
2020-05-15 19:30:01 +01:00 |
|
Luis Ramos
|
35824c7aa1
|
Rename restartCheckout to order_checkout_restart to make it follow service naming convention
|
2020-05-15 19:29:37 +01:00 |
|