mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix order serializer spec: change from id to number
This commit is contained in:
@@ -6,7 +6,7 @@ describe Api::OrderSerializer do
|
||||
|
||||
|
||||
it "serializes an order" do
|
||||
expect(serializer.to_json).to match order.id.to_s
|
||||
expect(serializer.to_json).to match order.number.to_s
|
||||
end
|
||||
|
||||
it "converts the total to currency and amount" do
|
||||
|
||||
Reference in New Issue
Block a user