diff --git a/spec/views/spree/shared/_order_details.html.haml_spec.rb b/spec/views/spree/shared/_order_details.html.haml_spec.rb index d1b7986203..14ac869fa5 100644 --- a/spec/views/spree/shared/_order_details.html.haml_spec.rb +++ b/spec/views/spree/shared/_order_details.html.haml_spec.rb @@ -1,10 +1,12 @@ # frozen_string_literal: true require "spec_helper" - +require 'checkout_helper' describe "spree/shared/_order_details.html.haml" do include AuthenticationHelper helper Spree::BaseHelper + helper CheckoutHelper + helper OrderHelper let(:order) { create(:completed_order_with_fees) } @@ -12,7 +14,7 @@ describe "spree/shared/_order_details.html.haml" do assign(:order, order) allow(view).to receive_messages( order: order, - current_order: order, + current_order: order ) end