mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-04 02:31:33 +00:00
Rename checkout_workflow to checkout_helper
This commit is contained in:
@@ -4,7 +4,7 @@ feature "As a consumer I want to check out my cart", js: true do
|
||||
include AuthenticationHelper
|
||||
include WebHelper
|
||||
include ShopWorkflow
|
||||
include CheckoutWorkflow
|
||||
include CheckoutHelper
|
||||
include UIComponentHelper
|
||||
|
||||
describe "using the checkout" do
|
||||
|
||||
@@ -2,7 +2,7 @@ require "spec_helper"
|
||||
|
||||
feature "Checking out with Paypal", js: true do
|
||||
include ShopWorkflow
|
||||
include CheckoutWorkflow
|
||||
include CheckoutHelper
|
||||
|
||||
let(:distributor) { create(:distributor_enterprise) }
|
||||
let(:supplier) { create(:supplier_enterprise) }
|
||||
|
||||
@@ -3,7 +3,7 @@ require 'spec_helper'
|
||||
feature "As a consumer I want to check out my cart", js: true do
|
||||
include AuthenticationHelper
|
||||
include ShopWorkflow
|
||||
include CheckoutWorkflow
|
||||
include CheckoutHelper
|
||||
include WebHelper
|
||||
include UIComponentHelper
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ feature "Using embedded shopfront functionality", js: true do
|
||||
include AuthenticationHelper
|
||||
include WebHelper
|
||||
include ShopWorkflow
|
||||
include CheckoutWorkflow
|
||||
include CheckoutHelper
|
||||
include UIComponentHelper
|
||||
|
||||
describe "using iframes" do
|
||||
|
||||
@@ -4,7 +4,7 @@ feature "shopping with variant overrides defined", js: true do
|
||||
include AuthenticationHelper
|
||||
include WebHelper
|
||||
include ShopWorkflow
|
||||
include CheckoutWorkflow
|
||||
include CheckoutHelper
|
||||
include UIComponentHelper
|
||||
|
||||
let(:hub) { create(:distributor_enterprise, with_payment_and_shipping: true) }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module CheckoutWorkflow
|
||||
module CheckoutHelper
|
||||
def have_checkout_details
|
||||
have_content "Your details"
|
||||
end
|
||||
Reference in New Issue
Block a user