mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-05 07:19:14 +00:00
Fix test setup in CheckoutHelper spec
This commit is contained in:
@@ -36,7 +36,8 @@ describe CheckoutHelper, type: :helper do
|
||||
let(:order) { create(:order_with_totals_and_distribution) }
|
||||
let(:enterprise_fee) { create(:enterprise_fee, amount: 123) }
|
||||
let!(:fee_adjustment) {
|
||||
create(:adjustment, originator: enterprise_fee, adjustable: order, source: order)
|
||||
create(:adjustment, originator: enterprise_fee, adjustable: order, source: order,
|
||||
order: order)
|
||||
}
|
||||
|
||||
before do
|
||||
|
||||
Reference in New Issue
Block a user