Specs are green
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user