Fix order serializer spec: change from id to number

This commit is contained in:
Steve Pettitt
2016-01-26 19:03:19 +00:00
parent 295ee47c3a
commit aa8457c40f

View File

@@ -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