Specs are green

This commit is contained in:
2014-12-11 16:08:30 +01:00
parent 15e6bdf054
commit f9c94bab47
6 changed files with 9 additions and 5 deletions
@@ -3,7 +3,7 @@ step "the user is on the active list page" do
end
step "the user should see the order in the active list view" do
page.evaluate_script(%|$('.order-row-#{@order.id}').text()|).first(14).should == '2 x Beer€ 4.68'
page.evaluate_script(%|$('.order-row-#{@order.id}').text()|).should start_with "2 x Heineken beer€ 4.68"
end
step "the user should not see the order in the active list view" do