mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Update spec
This commit is contained in:
@@ -51,7 +51,7 @@ describe Admin::OrdersHelper, type: :helper do
|
||||
voucher_adjustment.update(included_tax: voucher_included_tax)
|
||||
|
||||
fake_adjustment = helper.order_adjustments_for_display(order).last
|
||||
expect(fake_adjustment.label).to eq("new_code (tax included in price)")
|
||||
expect(fake_adjustment.label).to eq("new_code (tax included in voucher)")
|
||||
expect(fake_adjustment.amount).to eq(-0.5)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user