mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Make sure d1 != d2
This commit is contained in:
@@ -113,7 +113,7 @@ feature %q{
|
||||
let!(:supplier1) { order_cycle1.suppliers.first }
|
||||
let!(:supplier2) { order_cycle1.suppliers.last }
|
||||
let!(:distributor1) { order_cycle1.distributors.first }
|
||||
let!(:distributor2) { order_cycle1.distributors.last }
|
||||
let!(:distributor2) { order_cycle1.distributors.reject{ |d| d == distributor1 }.last } # ensure d1 != d2
|
||||
let(:product) { order_cycle1.products.first }
|
||||
|
||||
before(:each) do
|
||||
|
||||
Reference in New Issue
Block a user