Applies helper change on spec file

This commit is contained in:
filipefurtad0
2022-01-12 12:39:30 +00:00
parent 22d9da9edc
commit ab2d92ab8f

View File

@@ -154,7 +154,7 @@ describe "As a consumer, I want to checkout my order", js: true do
end
it "redirects the user to the Payment Method step" do
fill_out("SpEcIaL NoTeS")
fill_notes("SpEcIaL NoTeS")
proceed_to_payment
end
end
@@ -208,7 +208,7 @@ describe "As a consumer, I want to checkout my order", js: true do
it "fills in shipping details and redirects the user to the Payment Method step,
when submiting the form" do
fill_out_shipping_address
fill_out("SpEcIaL NoTeS")
fill_notes("SpEcIaL NoTeS")
proceed_to_payment
# asserts whether shipping and billing addresses are the same
ship_add_id = Spree::Order.first.ship_address_id