Update BulkLineItemsController spec now that taxes on enterprise fees are updated correctly

Tax on fees previously stayed the same unless the fees were deleted recreated from scratch, instead of updating when the fee amounts changed
This commit is contained in:
Matt-Yorkley
2021-05-21 12:12:11 +01:00
parent 832fbb7d5d
commit 7007de752d

View File

@@ -366,7 +366,7 @@ describe Admin::BulkLineItemsController, type: :controller do
expect(order.shipment_adjustments.sum(:amount)).to eq 12.57
expect(order.item_total).to eq 40.0
expect(order.adjustment_total).to eq 27.0
expect(order.included_tax_total).to eq 2.93 # Pending: taxes on enterprise fees unchanged
expect(order.included_tax_total).to eq 3.38
expect(order.payment_state).to eq "balance_due"
end
end