mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Covers order special instruction
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user