Rename spec/support/CheckoutHelper to resolve colision with app/helpers/CheckoutHelper

This commit is contained in:
Luis Ramos
2021-03-13 13:26:56 +00:00
parent a953a12f76
commit c5581fa25f
9 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ feature '
As an administrator
I want to print a ticket for an order
', js: true do
include CheckoutHelper
include CheckoutRequestsHelper
include AuthenticationHelper
include ActionView::Helpers::NumberHelper

View File

@@ -6,7 +6,7 @@ feature "As a consumer I want to check out my cart", js: true do
include AuthenticationHelper
include WebHelper
include ShopWorkflow
include CheckoutHelper
include CheckoutRequestsHelper
include UIComponentHelper
describe "using the checkout" do

View File

@@ -4,7 +4,7 @@ require "spec_helper"
feature "Check out with Paypal", js: true do
include ShopWorkflow
include CheckoutHelper
include CheckoutRequestsHelper
include AuthenticationHelper
include PaypalHelper

View File

@@ -5,7 +5,7 @@ require 'spec_helper'
feature "As a consumer I want to check out my cart", js: true do
include AuthenticationHelper
include ShopWorkflow
include CheckoutHelper
include CheckoutRequestsHelper
include WebHelper
include UIComponentHelper

View File

@@ -5,7 +5,7 @@ require 'spec_helper'
feature "Check out with Stripe", js: true do
include AuthenticationHelper
include ShopWorkflow
include CheckoutHelper
include CheckoutRequestsHelper
include StripeHelper
include StripeStubs

View File

@@ -7,7 +7,7 @@ feature "Using embedded shopfront functionality", js: true do
include AuthenticationHelper
include WebHelper
include ShopWorkflow
include CheckoutHelper
include CheckoutRequestsHelper
include UIComponentHelper
describe "using iframes" do

View File

@@ -6,7 +6,7 @@ feature "shopping with variant overrides defined", js: true do
include AuthenticationHelper
include WebHelper
include ShopWorkflow
include CheckoutHelper
include CheckoutRequestsHelper
include UIComponentHelper
let(:hub) { create(:distributor_enterprise, with_payment_and_shipping: true) }

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
module CheckoutHelper
module CheckoutRequestsHelper
def have_checkout_details
have_content "Your details"
end

View File

@@ -1,7 +1,7 @@
# frozen_string_literal: true
require "spec_helper"
require 'checkout_helper'
describe "spree/shared/_order_details.html.haml" do
include AuthenticationHelper
helper Spree::BaseHelper