Order product user spec green
This commit is contained in:
@@ -16,7 +16,9 @@ step "the user order should be created as a new order" do
|
||||
@order = Order.last
|
||||
row = find(".order-row-#{@order.id}")
|
||||
row['class'].should include 'placed'
|
||||
page.should have_content 'Apple pie (1), Heineken beer (2)'
|
||||
#page.should have_content 'Apple pie (1), Heineken beer (2)'
|
||||
page.should have_content '1 x Apple pie'
|
||||
page.should have_content '2 x Heineken beer'
|
||||
page.should have_content '€ 8.96'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user