mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
At `CapQuantity`'s instantiation time the proxy's order is not yet initialized, and so `CapQuantity` was checking against nil all the time. This went unnoticed because the job's specs were not integration-level tests and were stubbing way too many things.