diff --git a/spec/services/order_invoice_comparator_spec.rb b/spec/services/order_invoice_comparator_spec.rb index 22dd5cdb3f..86b26dc91f 100644 --- a/spec/services/order_invoice_comparator_spec.rb +++ b/spec/services/order_invoice_comparator_spec.rb @@ -57,6 +57,11 @@ describe OrderInvoiceComparator do expect(subject).to be true end + it "returns false if a non-relevant attribute changes" do + order.update!(special_instructions: "A very special insctruction.") + expect(subject).to be false + end + it "returns false if a non-relevant attribute changes" do order.update!(note: "THIS IS A NEW NOTE") expect(subject).to be false