diff --git a/spec/services/order_invoice_comparator_spec.rb b/spec/services/order_invoice_comparator_spec.rb index af992e548d..6ee0fa7341 100644 --- a/spec/services/order_invoice_comparator_spec.rb +++ b/spec/services/order_invoice_comparator_spec.rb @@ -53,7 +53,8 @@ describe OrderInvoiceComparator do it "returns returns true" do Spree::TaxRate.first.update!(amount: 0.15) - order.create_tax_charge! && order.save + order.create_tax_charge! + order.reload expect(subject).to be true end end @@ -70,7 +71,8 @@ describe OrderInvoiceComparator do it "returns returns true" do Spree::TaxRate.first.update!(amount: 0.15) - order.create_tax_charge! && order.save + order.create_tax_charge! + order.reload expect(subject).to be true end end