Files
openfoodnetwork/spec
Kristina Lim 3104862739 Fix shop accidentally becoming order coordinator
The original setup of the order calls:

  create(:simple_order_cycle)

Which picks an arbitrary distributor as coordinator:

  coordinator { Enterprise.is_distributor.first || ... }

There is a chance that any of the existing distributor enterprises
becomes coordinator, causing a test to intermittently fail.

This commit makes the relationship between the reference enterprises and
the order consistent.
2019-02-01 20:28:36 +00:00
..
2018-08-22 21:35:56 +01:00
2018-11-28 16:21:40 +01:00
2019-01-16 17:17:10 +00:00