Andy Brett
|
c6743d8c6b
|
Merge pull request #7800 from pacodelaluna/improve-dfc-logic
Improve DFC Provider logic to use existing business logic
|
2021-07-16 15:56:09 -07:00 |
|
François Turbelin
|
39bb25e959
|
Adjust supplied_products id before better data matching
|
2021-07-15 21:17:14 +02:00 |
|
François Turbelin
|
c4a7c05c05
|
Use check_enterprise filter in a better way
|
2021-07-14 14:59:19 +02:00 |
|
François Turbelin
|
155d05265d
|
Use manually generated values to test urls
|
2021-07-14 14:24:10 +02:00 |
|
François Turbelin
|
9d1b059835
|
Fix typo in supplied_products_controller comment
|
2021-07-14 14:08:09 +02:00 |
|
François Turbelin
|
06c19641b4
|
Remove return on case
|
2021-06-22 20:44:51 +02:00 |
|
Luis Ramos
|
23627c5453
|
Run rubocop -a (safe corrections) removing all exceptions so all possible fixes are applied
9290 issues fixed
|
2021-06-17 22:19:26 +01:00 |
|
François Turbelin
|
7f0c5b8a7a
|
Fix controller specs with be_successful
|
2021-06-17 09:43:17 +02:00 |
|
François Turbelin
|
bcd2790649
|
Fix failing spec
|
2021-06-17 09:18:05 +02:00 |
|
François Turbelin
|
7918c2f37c
|
Cosmetics
|
2021-06-17 08:50:52 +02:00 |
|
François Turbelin
|
1ef7247311
|
Use a service to fetch variants in the engine
|
2021-06-17 08:50:52 +02:00 |
|
François Turbelin
|
235a2574dc
|
Add spec for SuppliedProduct serializer
|
2021-06-17 08:50:52 +02:00 |
|
François Turbelin
|
4dc07d9872
|
Add spec for CatalogItem serializer
|
2021-06-17 08:50:52 +02:00 |
|
François Turbelin
|
a87c46843c
|
Factorize serializer code into Base inherited class
|
2021-06-17 08:50:52 +02:00 |
|
François Turbelin
|
7ff69d5e6d
|
Fix entreprise missing issue on Persons controller
|
2021-06-17 08:50:52 +02:00 |
|
François Turbelin
|
e86b6443f2
|
Add a comment to explain nesting on catalog_item
|
2021-04-05 20:38:19 +02:00 |
|
François Turbelin
|
bf4bb854b1
|
Change offeres_to to offers_to for method naming
|
2021-04-05 20:38:19 +02:00 |
|
François Turbelin
|
779241db7a
|
Improve documentation
|
2021-04-05 20:38:19 +02:00 |
|
François Turbelin
|
11f1f6cff1
|
Add more onliner before in specs
|
2021-04-05 20:38:19 +02:00 |
|
François Turbelin
|
7ad6e1b76a
|
Remove brakets for describe in specs
|
2021-04-05 20:38:19 +02:00 |
|
François Turbelin
|
d414122efd
|
Rename check_entreprise to set_entreprise
|
2021-04-05 20:38:19 +02:00 |
|
Luis Ramos
|
c5186c2412
|
Fix rubocop_specs file path
|
2020-10-26 17:27:38 +00:00 |
|
Luis Ramos
|
0b51d8b297
|
Add rubocop config to allow specs to be 300 lines long
|
2020-10-26 17:03:50 +00:00 |
|
François Turbelin
|
52d82d0a96
|
Use not found instead of 404 for spec descriptions
|
2020-09-03 00:59:21 +02:00 |
|
François Turbelin
|
d11d67561f
|
Remove extra delegation in serializers
|
2020-09-03 00:58:54 +02:00 |
|
François Turbelin
|
d2c147109d
|
Use Persons instead of People
|
2020-09-03 00:56:42 +02:00 |
|
François Turbelin
|
b60c1c9003
|
Dry current_enterprise emtod with enterprise_id_param_name
|
2020-09-03 00:50:23 +02:00 |
|
François Turbelin
|
59fb2abc5d
|
Fix inheritance issue with specs on Semaphore
|
2020-09-02 23:08:47 +02:00 |
|
François Turbelin
|
6508897e3d
|
Introduce current_enterprise with memoization
|
2020-09-02 22:28:12 +02:00 |
|
François Turbelin
|
1baba5b61c
|
Introduce current_user with memoization
|
2020-09-02 22:18:56 +02:00 |
|
François Turbelin
|
4f2b7094d0
|
Use before_action instead of before_filter
|
2020-09-02 21:48:13 +02:00 |
|
François Turbelin
|
d5800642e7
|
Map DFC SuppliedProduct with OFN Variant
|
2020-08-30 23:11:59 +02:00 |
|
François Turbelin
|
c3cf08156d
|
Add People controller
|
2020-08-13 11:49:45 +02:00 |
|
François Turbelin
|
8d4587506b
|
Add SuppliedProducts controller
|
2020-08-13 11:46:48 +02:00 |
|
François Turbelin
|
99e905c768
|
Simplify enterprise check logic
|
2020-08-13 11:02:31 +02:00 |
|
François Turbelin
|
46d38930d9
|
Add some ajustements
|
2020-08-12 20:53:02 +02:00 |
|
François Turbelin
|
a4e8982351
|
Rename ProductsController into CatalogItemsController
|
2020-08-12 19:51:12 +02:00 |
|
François Turbelin
|
13e15f823e
|
Add Read action for Enterprise and CatalogItem
|
2020-08-12 19:43:20 +02:00 |
|
François Turbelin
|
508ecd6bf7
|
Adjust with Rubocop suggestions
|
2020-08-12 13:46:23 +02:00 |
|
François Turbelin
|
d10fda6227
|
Put context inside serializer
|
2020-08-12 13:37:48 +02:00 |
|
François Turbelin
|
2a8268ca73
|
Use ActiveModelSerializer for DFC serialization
|
2020-08-12 13:37:01 +02:00 |
|
François Turbelin
|
8687e0199d
|
Apply cosmetics
|
2020-08-05 08:20:14 +02:00 |
|
François Turbelin
|
2549d454ab
|
Maintain specs
|
2020-07-23 09:28:32 +02:00 |
|
François Turbelin
|
645b4a9505
|
Use multiple serializers
|
2020-07-22 22:45:50 +02:00 |
|
François Turbelin
|
9f02ee3874
|
Use new serialization
|
2020-07-22 21:08:25 +02:00 |
|
François Turbelin
|
21fc14a9fe
|
Use a better products list for catalog
|
2020-07-22 21:08:25 +02:00 |
|
Matt-Yorkley
|
89dd7ddb86
|
Update setting of request headers in DFC controller spec
|
2020-05-26 15:32:07 +02:00 |
|
Matt-Yorkley
|
bde4acd22f
|
Update get calls in DFC controller spec
|
2020-05-26 15:21:02 +02:00 |
|
François Turbelin
|
d5b69ec90c
|
Remove before call when no factorization
|
2020-05-06 22:04:56 +02:00 |
|
François Turbelin
|
13f00480ce
|
Use serialized_data
|
2020-05-06 22:04:56 +02:00 |
|