Files
openfoodnetwork/app/models/spree
Gaetan Craig-Riou d29119f5c5 Remove non need belongs_to associations from Adjustments
It turns out the "tax_rate" association isn't used and wasn't working.
Same for the "voucher" one, which I added to be consistent with existing
code.
Both of these weren't caught by the specs because you can't test associations
with a custome relation with 'shouda-matchers' see: https://github.com/thoughtbot/shoulda-matchers/issues/981
2023-05-15 13:42:40 +10:00
..
2022-02-01 11:39:07 +00:00
2020-08-07 13:45:25 +01:00
2021-09-08 14:28:31 +01:00
2022-11-02 15:33:43 +11:00
2022-05-06 10:55:24 -04:00
2023-02-07 12:27:15 +00:00
2021-12-10 18:18:20 +00:00
2023-04-18 22:58:06 +09:00
2023-04-18 22:58:06 +09:00
2022-04-15 16:50:28 +10:00
2023-04-18 22:58:06 +09:00