From 217a506c257a86cfc71a2b4061886760c0565f33 Mon Sep 17 00:00:00 2001 From: lukaszreszke Date: Tue, 6 Aug 2024 13:07:48 +0200 Subject: [PATCH] refactor --- ecommerce/ordering/lib/ordering/order.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecommerce/ordering/lib/ordering/order.rb b/ecommerce/ordering/lib/ordering/order.rb index 1d29024f..f0223491 100644 --- a/ecommerce/ordering/lib/ordering/order.rb +++ b/ecommerce/ordering/lib/ordering/order.rb @@ -9,7 +9,7 @@ class Order def initialize(id) @id = id - @state = State.new(:draft) + @state = State.new @basket = Basket.new end