mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-05 02:41:33 +00:00
Fix orcer cycle form service spec
This commit is contained in:
@@ -138,7 +138,7 @@ RSpec.describe OrderCycles::FormService do
|
||||
let(:shipping_method) { create(:shipping_method, distributors: [distributor]) }
|
||||
let(:distributor_payment_method) { payment_method.distributor_payment_methods.first }
|
||||
let(:distributor_shipping_method) { shipping_method.distributor_shipping_methods.first }
|
||||
let(:variant) { create(:variant, product: create(:product, supplier:)) }
|
||||
let(:variant) { create(:variant, supplier:) }
|
||||
let(:params) { { name: 'Some new name' } }
|
||||
let(:form) { OrderCycles::FormService.new(order_cycle, params, user) }
|
||||
let(:outgoing_exchange_params) do
|
||||
|
||||
Reference in New Issue
Block a user