Sha256: 9abdaeaa3b32e61370c0141444249881332320cb2a75b9e85f3124eae4aef1f8

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

# 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 spec/views/spree/checkout/_summary_spec.rb