Order product user spec green

This commit is contained in:
2014-06-25 17:23:43 +02:00
parent 58f0937570
commit 10bc926e87
10 changed files with 41 additions and 11 deletions
+3 -1
View File
@@ -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