Maikel Linke
|
6317fe1b71
|
Disable RSpec monkey patching
|
2024-05-09 12:24:41 +10:00 |
|
Gaetan Craig-Riou
|
9c9a6234e1
|
Per review, clean up voucher specs
Add explicit 'order.item_total' to make specs more readable
|
2023-08-11 15:41:45 +10:00 |
|
Gaetan Craig-Riou
|
3f63cfbc27
|
Fix Rubocop warning
|
2023-08-11 15:41:45 +10:00 |
|
Gaetan Craig-Riou
|
2828bd098d
|
Refactor VoucherAdjustment service
We are taking advantage of having a FlatRate and a PercentageRate
model to simplify the code a little
|
2023-08-11 15:41:34 +10:00 |
|
Gaetan Craig-Riou
|
46e04ca7ee
|
Refactor voucher: 3 percentage rate voucher
|
2023-08-11 14:54:23 +10:00 |
|
Gaetan Craig-Riou
|
def594ab81
|
Refactor voucher: 2 FlatRate voucher
|
2023-08-11 14:54:23 +10:00 |
|