Files
openfoodnetwork/spec/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
..
2020-08-07 14:03:15 +01:00
2022-06-14 15:35:55 +10:00
2023-04-04 09:44:15 +09:00
2020-08-06 01:41:28 +01:00
2020-09-05 16:38:36 +01:00
2020-09-05 16:43:27 +01:00
2023-04-20 12:18:04 +10:00
2023-04-18 22:58:06 +09:00