Greenification of the specs

This commit is contained in:
2015-10-06 17:20:56 +02:00
parent 2df5b290ef
commit 0985881552
16 changed files with 48 additions and 34 deletions
@@ -14,8 +14,9 @@ step "the user indicates in the popup that he wants to change the table" do
end
step "the user should see the supplier menu having the other table as base" do
#route_should_be 'user#list_products'
page.should have_content 'Apple pie'
ember_route_should_be '/active-list'
product_order = @list.orders.first.product_orders.first
page.should have_content "#{product_order.quantity} x #{product_order.product_name}"
all('.table-number').map(&:text).uniq.should == ["# #{@other_table.number.to_s}"]
end