Change out of stock message in spec. Now the checkout controller is returning the error message, not the line items validator

This commit is contained in:
luisramos0
2018-12-21 21:50:13 +00:00
parent 1007addddb
commit 4dd41bae9c

View File

@@ -401,7 +401,7 @@ feature "As a consumer I want to check out my cart", js: true, retry: 3 do
page.should_not have_content "Your order has been processed successfully"
page.should have_selector 'closing', text: "Your shopping cart"
page.should have_content "Out Of Stock"
page.should have_content "An item in your cart has become unavailable."
end
context "when we are charged a shipping fee" do