# frozen_string_literal: true require 'spec_helper' describe 'spree/components/checkout/_checkout_summary.html.erb', type: :view do # Regression spec for https://github.com/spree/spree/issues/4223 it 'does not use the @order instance variable' do order = stub_model(Spree::Order) render partial: 'spree/components/checkout/checkout_summary', locals: { order: order } end end