Try to fix shopping cart failing feauture in Travis

This commit is contained in:
Julius Pabrinkis
2017-04-27 12:20:53 +01:00
committed by Rob H
parent 8e10269b50
commit ea91a82f30

View File

@@ -95,8 +95,8 @@ feature "full-page cart", js: true do
click_button 'Update'
page.should have_field "order[line_items_attributes][0][quantity]", with: '1'
page.should have_content "Insufficient stock available, only 2 remaining"
expect(page).to have_content "Insufficient stock available, only 2 remaining"
expect(page).to have_field "order[line_items_attributes][0][quantity]", with: '1'
end
end